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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp

Issue 2692853016: Change PaintLayer::m_layoutObject to a reference. (Closed)
Patch Set: Added TODO Created 3 years, 10 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
Index: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
index 2beb36a9a1fe8e9fbd863cd55ab7fd58d91f65b2..b2db6fe39c8431571c9c5412f21d3494fe957d10 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp
@@ -776,7 +776,7 @@ std::unique_ptr<TracedValue> InspectorLayerInvalidationTrackingEvent::data(
const PaintLayer* layer,
const char* reason) {
const LayoutObject& paintInvalidationContainer =
- layer->layoutObject()->containerForPaintInvalidation();
+ layer->layoutObject().containerForPaintInvalidation();
std::unique_ptr<TracedValue> value = TracedValue::create();
value->setString("frame", toHexString(paintInvalidationContainer.frame()));

Powered by Google App Engine
This is Rietveld 408576698