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

Unified Diff: cc/output/software_renderer.cc

Issue 1432443004: Remove SkDevice and SkBaseDevice outside skia/ext/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove commented-out code Created 5 years, 1 month 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: cc/output/software_renderer.cc
diff --git a/cc/output/software_renderer.cc b/cc/output/software_renderer.cc
index 7cc996011de02e82e1ae2f2671996afc947ea0c1..ed962854a9c3cc61b9d052709aa4100e9a9a33b3 100644
--- a/cc/output/software_renderer.cc
+++ b/cc/output/software_renderer.cc
@@ -128,7 +128,7 @@ void SoftwareRenderer::EnsureScissorTestDisabled() {
if (!current_canvas_)
return;
is_scissor_enabled_ = false;
- SkISize size = current_canvas_->getDeviceSize();
+ SkISize size = current_canvas_->getBaseLayerSize();
SetClipRect(gfx::Rect(size.width(), size.height()));
}

Powered by Google App Engine
This is Rietveld 408576698