| Index: cc/output/output_surface.cc
|
| diff --git a/cc/output/output_surface.cc b/cc/output/output_surface.cc
|
| index a853c64e86c0caece0a30e7e912ef220b29be81a..8746131927d47ed0dea2513f39f925e60a13536f 100644
|
| --- a/cc/output/output_surface.cc
|
| +++ b/cc/output/output_surface.cc
|
| @@ -137,32 +137,13 @@ OutputSurface::OutputSurface(
|
| client_thread_checker_.DetachFromThread();
|
| }
|
|
|
| -// Forwarded to OutputSurfaceClient
|
| -void OutputSurface::SetNeedsRedrawRect(const gfx::Rect& damage_rect) {
|
| - TRACE_EVENT0("cc", "OutputSurface::SetNeedsRedrawRect");
|
| - client_->SetNeedsRedrawRect(damage_rect);
|
| -}
|
| -
|
| -void OutputSurface::ReclaimResources(const ReturnedResourceArray& resources) {
|
| - client_->ReclaimResources(resources);
|
| -}
|
| -
|
| -void OutputSurface::DidLoseOutputSurface() {
|
| - TRACE_EVENT0("cc", "OutputSurface::DidLoseOutputSurface");
|
| - client_->DidLoseOutputSurface();
|
| -}
|
| -
|
| -void OutputSurface::SetExternalStencilTest(bool enabled) {
|
| - external_stencil_test_enabled_ = enabled;
|
| -}
|
| -
|
| OutputSurface::~OutputSurface() {
|
| if (client_)
|
| DetachFromClientInternal();
|
| }
|
|
|
| bool OutputSurface::HasExternalStencilTest() const {
|
| - return external_stencil_test_enabled_;
|
| + return false;
|
| }
|
|
|
| void OutputSurface::ApplyExternalStencil() {}
|
| @@ -313,4 +294,9 @@ void OutputSurface::DetachFromClientInternal() {
|
| weak_ptr_factory_.InvalidateWeakPtrs();
|
| }
|
|
|
| +void OutputSurface::DidLoseOutputSurface() {
|
| + TRACE_EVENT0("cc", "OutputSurface::DidLoseOutputSurface");
|
| + client_->DidLoseOutputSurface();
|
| +}
|
| +
|
| } // namespace cc
|
|
|