Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(886)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp

Issue 2604073002: Apply offset from the correct graphics layer; simplify code for link highlights. (Closed)
Patch Set: none Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
index 16faf3fa6ebc151892639fcc3e6e267147781ef0..4eddf7c1c9d089d45a10745960d4f459806d3437 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
@@ -611,12 +611,14 @@ bool LayoutBoxModelObject::hasNonEmptyLayoutSize() const {
}
void LayoutBoxModelObject::absoluteQuadsForSelf(
- Vector<FloatQuad>& quads) const {
+ Vector<FloatQuad>& quads,
+ MapCoordinatesFlags mode) const {
NOTREACHED();
}
-void LayoutBoxModelObject::absoluteQuads(Vector<FloatQuad>& quads) const {
- absoluteQuadsForSelf(quads);
+void LayoutBoxModelObject::absoluteQuads(Vector<FloatQuad>& quads,
+ MapCoordinatesFlags mode) const {
+ absoluteQuadsForSelf(quads, mode);
// Iterate over continuations, avoiding recursion in case there are
// many of them. See crbug.com/653767.
@@ -627,7 +629,7 @@ void LayoutBoxModelObject::absoluteQuads(Vector<FloatQuad>& quads) const {
(continuationObject->isLayoutBlockFlow() &&
toLayoutBlockFlow(continuationObject)
->isAnonymousBlockContinuation()));
- continuationObject->absoluteQuadsForSelf(quads);
+ continuationObject->absoluteQuadsForSelf(quads, mode);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h ('k') | third_party/WebKit/Source/core/layout/LayoutFlowThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698