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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2782343002: Store local border box property cache outside ObjectPaintProperties (Closed)
Patch Set: Rebase Created 3 years, 9 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/layout/LayoutObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index 6e81bf8573e12c612a55e26563353c13262697ce..9f384ca9f4f6ef671d1ccea0a125ad87218282e1 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -215,8 +215,7 @@ class DraggedNodeImageBuilder {
PaintLayerPainter(*layer).paint(builder.context(), paintingInfo, flags);
PropertyTreeState borderBoxProperties = PropertyTreeState::root();
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
- borderBoxProperties =
- *layer->layoutObject().paintProperties()->localBorderBoxProperties();
+ borderBoxProperties = *layer->layoutObject().localBorderBoxProperties();
}
return createDragImage(
*m_localFrame, 1.0f,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698