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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutItem.h

Issue 2110893002: [Layout API] Use LayoutViewItem in PaintPropertyTreeBuilderTest.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/api/LayoutItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutItem.h b/third_party/WebKit/Source/core/layout/api/LayoutItem.h
index e9ea152423f75c09fc97c8626c3aa509d86acaa5..a3d0a0513b464417ccee2d6372608478759dc9f3 100644
--- a/third_party/WebKit/Source/core/layout/api/LayoutItem.h
+++ b/third_party/WebKit/Source/core/layout/api/LayoutItem.h
@@ -15,6 +15,7 @@ namespace blink {
class FrameView;
class LayoutAPIShim;
class Node;
+class ObjectPaintProperties;
class LayoutItem {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
@@ -267,6 +268,11 @@ public:
return m_layoutObject->resolveColor(colorProperty);
}
+ ObjectPaintProperties* objectPaintProperties() const
+ {
+ return m_layoutObject->objectPaintProperties();
+ }
+
protected:
LayoutObject* layoutObject() { return m_layoutObject; }
const LayoutObject* layoutObject() const { return m_layoutObject; }
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698