Index: mojo/services/native_viewport/native_viewport_service.cc |
diff --git a/mojo/services/native_viewport/native_viewport_service.cc b/mojo/services/native_viewport/native_viewport_service.cc |
index b7c80524c78349e953c76582ee914b72f9eea57f..203ec104edc99ae969c7585c2e539a7a12339012 100644 |
--- a/mojo/services/native_viewport/native_viewport_service.cc |
+++ b/mojo/services/native_viewport/native_viewport_service.cc |
@@ -73,7 +73,7 @@ class NativeViewportImpl |
virtual void CreateGLES2Context( |
InterfaceRequest<CommandBuffer> command_buffer_request) OVERRIDE { |
- if (command_buffer_.get() || command_buffer_request_.is_pending()) { |
+ if (command_buffer_ || command_buffer_request_.is_pending()) { |
LOG(ERROR) << "Can't create multiple contexts on a NativeViewport"; |
return; |
} |