summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_output_surface.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/fake_output_surface.cc')
-rw-r--r--cc/test/fake_output_surface.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/fake_output_surface.cc b/cc/test/fake_output_surface.cc
index eee4529..195c603 100644
--- a/cc/test/fake_output_surface.cc
+++ b/cc/test/fake_output_surface.cc
@@ -93,6 +93,7 @@ bool FakeOutputSurface::ForcedDrawToSoftwareDevice() const {
bool FakeOutputSurface::SetAndInitializeContext3D(
scoped_ptr<WebKit::WebGraphicsContext3D> context3d) {
+ context3d_.reset();
return InitializeAndSetContext3D(context3d.Pass(),
scoped_refptr<ContextProvider>());
}