Index: content/browser/compositor/reflector_impl.h |
diff --git a/content/browser/compositor/reflector_impl.h b/content/browser/compositor/reflector_impl.h |
index 2e3b1b80fb0cd7db5d23cdec34af4b9152248bc4..4d0da018ded46f53fc425457986b943de4db0669 100644 |
--- a/content/browser/compositor/reflector_impl.h |
+++ b/content/browser/compositor/reflector_impl.h |
@@ -10,7 +10,6 @@ |
#include "base/memory/weak_ptr.h" |
#include "base/synchronization/lock.h" |
#include "content/browser/compositor/image_transport_factory.h" |
-#include "content/common/content_export.h" |
#include "gpu/command_buffer/common/mailbox_holder.h" |
#include "ui/compositor/reflector.h" |
#include "ui/gfx/geometry/size.h" |
@@ -31,9 +30,8 @@ |
// A reflector implementation that copies the framebuffer content |
// to the texture, then draw it onto the mirroring compositor. |
-class CONTENT_EXPORT ReflectorImpl |
- : public base::SupportsWeakPtr<ReflectorImpl>, |
- public ui::Reflector { |
+class ReflectorImpl : public base::SupportsWeakPtr<ReflectorImpl>, |
+ public ui::Reflector { |
public: |
ReflectorImpl( |
ui::Compositor* mirrored_compositor, |
@@ -80,8 +78,6 @@ |
void DetachFromOutputSurface(); |
private: |
- friend class ReflectorImplTest; |
- |
struct MainThreadData { |
MainThreadData(ui::Compositor* mirrored_compositor, |
ui::Layer* mirroring_layer); |
@@ -90,7 +86,6 @@ |
bool needs_set_mailbox; |
ui::Compositor* mirrored_compositor; |
ui::Layer* mirroring_layer; |
- bool flip_texture; |
}; |
struct ImplThreadData { |
@@ -115,12 +110,11 @@ |
// Request full redraw on mirroring compositor. |
void FullRedrawOnMainThread(gfx::Size size); |
- void UpdateSubBufferOnMainThread(const gfx::Size& size, |
- const gfx::Rect& rect); |
+ void UpdateSubBufferOnMainThread(gfx::Size size, gfx::Rect rect); |
// Request full redraw on mirrored compositor so that |
// the full content will be copied to mirroring compositor. |
- void FullRedrawContentOnMainThread(bool flip_texture); |
+ void FullRedrawContentOnMainThread(); |
// This exists just to hold a reference to a ReflectorImpl in a post task, |
// so the ReflectorImpl gets deleted when the function returns. |