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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp

Issue 2743363006: Clean up cc/paint interfaces (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
Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
index 4553f3dc5f0c406a1be30e5091c6a15b91c9f9f3..188549239cf450cb1e73302a74b1e6ad471ea71e 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp
@@ -93,7 +93,8 @@ std::unique_ptr<JSONArray> DisplayItemList::subsequenceAsJSON(
if ((options & ShowPaintRecords) && displayItem.isDrawing()) {
if (const PaintRecord* record =
static_cast<const DrawingDisplayItem&>(displayItem)
danakj 2017/03/16 20:06:16 a temp var here could go a long way to less wild l
- .GetPaintRecord()) {
+ .GetPaintRecord()
+ .get()) {
json->setString("record", recordAsDebugString(record));
}
}

Powered by Google App Engine
This is Rietveld 408576698