| Summary: | [Mac, iOS] Adjust pagination behavior for Mail.app printing use | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||||||
| Component: | Layout and Rendering | Assignee: | Brent Fulgham <bfulgham> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | andersca, bfulgham, commit-queue, esprehn+autocc, glenn, hyatt, kondapallykalyan, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Mac | ||||||||||
| OS: | All | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 144366 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Brent Fulgham
2015-02-13 11:23:36 PST
Created attachment 246537 [details]
Patch
Created attachment 246541 [details]
Patch
Comment on attachment 246541 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=246541&action=review > Source/WebCore/rendering/RenderBlockFlow.cpp:1617 > +static const AtomicString& messageContainerName() > +{ > + static NeverDestroyed<AtomicString> messageContainerNameString("messageContentContainer", AtomicString::ConstructFromLiteral); > + return messageContainerNameString; > +} It's bad to use AtomicString inside NeverDestroyed since they are different for different threads. I'd just use a literal in the function below instead. Created attachment 246545 [details]
Patch
(In reply to comment #4) > Comment on attachment 246541 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=246541&action=review > > > Source/WebCore/rendering/RenderBlockFlow.cpp:1617 > > +static const AtomicString& messageContainerName() > > +{ > > + static NeverDestroyed<AtomicString> messageContainerNameString("messageContentContainer", AtomicString::ConstructFromLiteral); > > + return messageContainerNameString; > > +} > > It's bad to use AtomicString inside NeverDestroyed since they are different > for different threads. I'd just use a literal in the function below instead. OK! Committed r180076: <http://trac.webkit.org/changeset/180076> |