WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 131180
Merge ShapeInfo & ShapeOutsideInfo now that ShapeInsideInfo is no more
https://bugs.webkit.org/show_bug.cgi?id=131180
Summary
Merge ShapeInfo & ShapeOutsideInfo now that ShapeInsideInfo is no more
Bem Jones-Bey
Reported
2014-04-03 12:50:26 PDT
Merge ShapeInfo & ShapeOutsideInfo now that ShapeInsideInfo is no more
Attachments
Patch
(44.52 KB, patch)
2014-04-03 12:57 PDT
,
Bem Jones-Bey
no flags
Details
Formatted Diff
Diff
Patch
(44.42 KB, patch)
2014-04-03 14:40 PDT
,
Bem Jones-Bey
no flags
Details
Formatted Diff
Diff
Patch
(44.45 KB, patch)
2014-04-03 15:25 PDT
,
Bem Jones-Bey
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Bem Jones-Bey
Comment 1
2014-04-03 12:57:05 PDT
Created
attachment 228533
[details]
Patch
Zoltan Horvath
Comment 2
2014-04-03 13:22:50 PDT
Comment on
attachment 228533
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=228533&action=review
> Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp:123 > +bool checkShapeImageOrigin(Document& document, CachedImage& cachedImage)
This function is only used by ShapeOutsideInfo::isEnabledFor. Can we just make it static?
> Source/WebCore/rendering/shapes/ShapeOutsideInfo.h:125 > +bool checkShapeImageOrigin(Document&, CachedImage&);
...and we won't need this.
> Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp:197 > +inline LayoutUnit borderBeforeInWritingMode(const RenderBox& renderer, WritingMode writingMode)
We have some inlines like this, would it make sense to make it inline statics?
Bem Jones-Bey
Comment 3
2014-04-03 14:40:13 PDT
Created
attachment 228545
[details]
Patch Updated for comments
Andreas Kling
Comment 4
2014-04-03 15:07:08 PDT
Comment on
attachment 228545
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=228545&action=review
r=me
> Source/WebCore/rendering/shapes/ShapeOutsideInfo.h:93 > + InfoMap::AddResult result = infoMap.add(&key, std::make_unique<ShapeOutsideInfo>(key));
I'd use "auto" here.
Bem Jones-Bey
Comment 5
2014-04-03 15:25:59 PDT
Created
attachment 228548
[details]
Patch Patch for landing
WebKit Commit Bot
Comment 6
2014-04-03 16:05:17 PDT
Comment on
attachment 228548
[details]
Patch Clearing flags on attachment: 228548 Committed
r166752
: <
http://trac.webkit.org/changeset/166752
>
WebKit Commit Bot
Comment 7
2014-04-03 16:05:24 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug