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

Unified Diff: third_party/WebKit/Source/platform/mac/GraphicsContextCanvasTest.mm

Issue 2823253004: Remove PaintCanvas::getBaseLayerSize. (Closed)
Patch Set: baselayersize: . Created 3 years, 8 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 | « cc/paint/skia_paint_canvas.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/mac/GraphicsContextCanvasTest.mm
diff --git a/third_party/WebKit/Source/platform/mac/GraphicsContextCanvasTest.mm b/third_party/WebKit/Source/platform/mac/GraphicsContextCanvasTest.mm
index a422f07b79dad6353c271e33e2eb0736f14f3ffc..b000114831f0e03d5c42eb6479c24b72fc143e05 100644
--- a/third_party/WebKit/Source/platform/mac/GraphicsContextCanvasTest.mm
+++ b/third_party/WebKit/Source/platform/mac/GraphicsContextCanvasTest.mm
@@ -36,7 +36,7 @@ void RunTest(TestType test) {
}
{
SkIRect clip =
- SkIRect::MakeSize(canvas.getBaseLayerSize())
+ SkIRect::MakeWH(kWidth, kHeight)
.makeOffset(
(test & kTestTranslate) ? -(static_cast<int>(kWidth)) / 2 : 0,
0);
« no previous file with comments | « cc/paint/skia_paint_canvas.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698