Index: content/common/gpu/gpu_command_buffer_stub.h |
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h |
index 4793ebdb51463cbd4e81f0441f37c5d4394e072c..042272b7263e2679729b2904c5c5c8169dd2fa0f 100644 |
--- a/content/common/gpu/gpu_command_buffer_stub.h |
+++ b/content/common/gpu/gpu_command_buffer_stub.h |
@@ -170,7 +170,7 @@ class GpuCommandBufferStub |
// Sends a message to the console. |
void SendConsoleMessage(int32 id, const std::string& message); |
- gfx::GLSurface* surface() const { return surface_; } |
+ gfx::GLSurface* surface() const { return surface_.get(); } |
void AddDestructionObserver(DestructionObserver* observer); |
void RemoveDestructionObserver(DestructionObserver* observer); |