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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 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/compositing/PaintArtifactCompositor.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
index 67b1e5f8539825b2258a3d439ce5a11d2b387c46..880dfd1a1b311ce6d572d38483d0e0db69fff1ad 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
@@ -100,7 +100,7 @@ static scoped_refptr<cc::DisplayItemList> recordPaintChunk(const PaintArtifact&
// TODO(jbroman, wkorman): What visual rectangle is wanted here?
list->CreateAndAppendItem<cc::TransformDisplayItem>(gfx::Rect(), translation);
- const DisplayItemList& displayItems = artifact.displayItemList();
+ const DisplayItemList& displayItems = artifact.getDisplayItemList();
for (const auto& displayItem : displayItems.itemsInPaintChunk(chunk))
appendDisplayItemToCcDisplayItemList(displayItem, list.get());
@@ -243,7 +243,7 @@ scoped_refptr<cc::Layer> foreignLayerForPaintChunk(const PaintArtifact& paintArt
if (paintChunk.size() != 1)
return nullptr;
- const auto& displayItem = paintArtifact.displayItemList()[paintChunk.beginIndex];
+ const auto& displayItem = paintArtifact.getDisplayItemList()[paintChunk.beginIndex];
if (!displayItem.isForeignLayer())
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698