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

Unified Diff: cc/resources/skpicture_content_layer_updater.cc

Issue 565043002: cc: Remove the opaque rect return-parameter from ContentLayerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: contentlayerclientopaque: build Created 6 years, 3 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/resources/skpicture_content_layer_updater.h ('k') | cc/resources/tile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/skpicture_content_layer_updater.cc
diff --git a/cc/resources/skpicture_content_layer_updater.cc b/cc/resources/skpicture_content_layer_updater.cc
index eb12385f4607349bd123609bf3543e2162fa602c..7e8ffee26619e3d7032847590d1bb7f031d53371 100644
--- a/cc/resources/skpicture_content_layer_updater.cc
+++ b/cc/resources/skpicture_content_layer_updater.cc
@@ -26,8 +26,7 @@ void SkPictureContentLayerUpdater::PrepareToUpdate(
const gfx::Rect& content_rect,
const gfx::Size&,
float contents_width_scale,
- float contents_height_scale,
- gfx::Rect* resulting_opaque_rect) {
+ float contents_height_scale) {
SkPictureRecorder recorder;
SkCanvas* canvas = recorder.beginRecording(
content_rect.width(), content_rect.height(), NULL, 0);
@@ -35,11 +34,8 @@ void SkPictureContentLayerUpdater::PrepareToUpdate(
DCHECK_EQ(content_rect.height(), canvas->getBaseLayerSize().height());
base::TimeTicks start_time =
rendering_stats_instrumentation_->StartRecording();
- PaintContents(canvas,
- content_rect,
- contents_width_scale,
- contents_height_scale,
- resulting_opaque_rect);
+ PaintContents(
+ canvas, content_rect, contents_width_scale, contents_height_scale);
base::TimeDelta duration =
rendering_stats_instrumentation_->EndRecording(start_time);
rendering_stats_instrumentation_->AddRecord(
« no previous file with comments | « cc/resources/skpicture_content_layer_updater.h ('k') | cc/resources/tile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698