Chromium Code Reviews| Index: ui/gfx/compositor/compositor_cc.cc |
| diff --git a/ui/gfx/compositor/compositor_cc.cc b/ui/gfx/compositor/compositor_cc.cc |
| index 3090bc471472e03d342a730a3aa9210415fb299b..c0a4fd7900444085b05a9f2a153b5bef0c92772b 100644 |
| --- a/ui/gfx/compositor/compositor_cc.cc |
| +++ b/ui/gfx/compositor/compositor_cc.cc |
| @@ -218,6 +218,10 @@ void CompositorCC::DrawTree() { |
| host_.composite(); |
| } |
| +bool CompositorCC::CompositesAsynchronously() { |
| + return g_compositor_thread; |
| +} |
| + |
| bool CompositorCC::ReadPixels(SkBitmap* bitmap, const gfx::Rect& bounds) { |
| if (bounds.right() > size().width() || bounds.bottom() > size().height()) |
| return false; |
| @@ -273,6 +277,10 @@ WebKit::WebGraphicsContext3D* CompositorCC::createContext3D() { |
| return context; |
| } |
| +void CompositorCC::didCompleteSwapBuffers() { |
| + NotifyEnd(); |
|
piman
2012/01/06 17:22:54
nit: indent
|
| +} |
| + |
| void CompositorCC::didRebindGraphicsContext(bool success) { |
| } |