Index: content/browser/renderer_host/accelerated_surface_container_manager_mac.h |
diff --git a/content/browser/renderer_host/accelerated_surface_container_manager_mac.h b/content/browser/renderer_host/accelerated_surface_container_manager_mac.h |
index 8e5cd22cdc6507a9f2b652e04cecff53de8b8b85..d342971a1da6ae29a8fbf3f120d2c872c43dc7b1 100644 |
--- a/content/browser/renderer_host/accelerated_surface_container_manager_mac.h |
+++ b/content/browser/renderer_host/accelerated_surface_container_manager_mac.h |
@@ -14,6 +14,10 @@ |
#include "ui/gfx/native_widget_types.h" |
#include "ui/gfx/surface/transport_dib.h" |
+namespace gfx { |
+class Rect; |
+} |
+ |
namespace webkit { |
namespace npapi { |
struct WebPluginGeometry; |
@@ -79,6 +83,9 @@ class AcceleratedSurfaceContainerManagerMac { |
// Notifies a surface that it has been painted to. |
void SetSurfaceWasPaintedTo(gfx::PluginWindowHandle id, uint64 surface_id); |
+ void SetSurfaceWasPaintedTo(gfx::PluginWindowHandle id, |
+ uint64 surface_id, |
+ const gfx::Rect& update_rect); |
// Notifies the root container that its surface is invalid. |
void SetRootSurfaceInvalid(); |