Chromium Code Reviews| 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)); |
| } |
| } |