| Index: ui/gfx/compositor/compositor_win.cc
|
| diff --git a/ui/gfx/compositor/compositor_win.cc b/ui/gfx/compositor/compositor_win.cc
|
| index 346fd13ce13f334ea6d0d1f92f5fdc2ab3da7558..75d5f129481f37bd6bd24c601d2e1641bfcc5cdf 100644
|
| --- a/ui/gfx/compositor/compositor_win.cc
|
| +++ b/ui/gfx/compositor/compositor_win.cc
|
| @@ -101,12 +101,12 @@ class CompositorWin : public Compositor {
|
|
|
| // Compositor:
|
| virtual Texture* CreateTexture() OVERRIDE;
|
| - virtual void NotifyStart() OVERRIDE;
|
| - virtual void NotifyEnd() OVERRIDE;
|
| virtual void Blur(const gfx::Rect& bounds) OVERRIDE;
|
| virtual void SchedulePaint() OVERRIDE;
|
|
|
| protected:
|
| + virtual void OnNotifyStart() OVERRIDE;
|
| + virtual void OnNotifyEnd() OVERRIDE;
|
| virtual void OnWidgetSizeChanged() OVERRIDE;
|
|
|
| private:
|
| @@ -388,7 +388,7 @@ Texture* CompositorWin::CreateTexture() {
|
| return new ViewTexture(this, device_.get(), fx_.get());
|
| }
|
|
|
| -void CompositorWin::NotifyStart() {
|
| +void CompositorWin::OnNotifyStart() {
|
| ID3D10RenderTargetView* target_view = main_render_target_view_.get();
|
| device_->OMSetRenderTargets(1, &target_view, depth_stencil_view_.get());
|
|
|
| @@ -407,7 +407,7 @@ void CompositorWin::NotifyStart() {
|
| device_->IASetPrimitiveTopology(D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
|
| }
|
|
|
| -void CompositorWin::NotifyEnd() {
|
| +void CompositorWin::OnNotifyEnd() {
|
| // Copy from main_render_target_view_| (where all are rendering was done) back
|
| // to |dest_render_target_view_|.
|
| ID3D10RenderTargetView* target_view = dest_render_target_view_.get();
|
|
|