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

Unified Diff: content/renderer/pepper/pepper_graphics_2d_host.h

Issue 2444973002: Specify the rect invalidated by SetLayerTransform. (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | content/renderer/pepper/pepper_graphics_2d_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_graphics_2d_host.h
diff --git a/content/renderer/pepper/pepper_graphics_2d_host.h b/content/renderer/pepper/pepper_graphics_2d_host.h
index e50b095d8c1ef1e09798a872e3df315c21754517..655f8b1af4011d95eb77b643265bbcaac9bdfc8e 100644
--- a/content/renderer/pepper/pepper_graphics_2d_host.h
+++ b/content/renderer/pepper/pepper_graphics_2d_host.h
@@ -138,7 +138,9 @@ class CONTENT_EXPORT PepperGraphics2DHost
// rect argument will be filled by each function with the area affected by
// the update that requires invalidation. If there were no pixels changed,
// this rect can be untouched.
- void ExecuteTransform(const float& scale, const gfx::PointF& translate);
+ void ExecuteTransform(const float& scale,
+ const gfx::PointF& translate,
+ gfx::Rect* invalidated_rect);
void ExecutePaintImageData(PPB_ImageData_Impl* image,
int x,
int y,
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_graphics_2d_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698