Index: content/browser/renderer_host/compositing_iosurface_context_mac.mm |
diff --git a/content/browser/renderer_host/compositing_iosurface_context_mac.mm b/content/browser/renderer_host/compositing_iosurface_context_mac.mm |
index b7909cbed277ba520d1318184f2ee96b5f1bdf02..6394fe370cfc7652b34b0cde892a089ef51c1a87 100644 |
--- a/content/browser/renderer_host/compositing_iosurface_context_mac.mm |
+++ b/content/browser/renderer_host/compositing_iosurface_context_mac.mm |
@@ -37,7 +37,7 @@ CompositingIOSurfaceContext::Get(int window_number) { |
attributes.push_back(NSOpenGLPFAAllowOfflineRenderers); |
attributes.push_back(0); |
- scoped_nsobject<NSOpenGLPixelFormat> glPixelFormat( |
+ base::scoped_nsobject<NSOpenGLPixelFormat> glPixelFormat( |
[[NSOpenGLPixelFormat alloc] initWithAttributes:&attributes.front()]); |
if (!glPixelFormat) { |
LOG(ERROR) << "NSOpenGLPixelFormat initWithAttributes failed"; |
@@ -49,9 +49,9 @@ CompositingIOSurfaceContext::Get(int window_number) { |
NSOpenGLContext* share_context = nil; |
if (!window_map()->empty()) |
share_context = window_map()->begin()->second->nsgl_context(); |
- scoped_nsobject<NSOpenGLContext> nsgl_context( |
- [[NSOpenGLContext alloc] initWithFormat:glPixelFormat |
- shareContext:share_context]); |
+ base::scoped_nsobject<NSOpenGLContext> nsgl_context( |
+ [[NSOpenGLContext alloc] initWithFormat:glPixelFormat |
+ shareContext:share_context]); |
if (!nsgl_context) { |
LOG(ERROR) << "NSOpenGLContext initWithFormat failed"; |
return NULL; |