| Index: ui/snapshot/snapshot_mac.mm
|
| diff --git a/ui/snapshot/snapshot_mac.mm b/ui/snapshot/snapshot_mac.mm
|
| index 5a0c6d6ab2d2ce860e753988e55a077f3c1966a2..abd87286a2d414158ef2472249864ca3216f8791 100644
|
| --- a/ui/snapshot/snapshot_mac.mm
|
| +++ b/ui/snapshot/snapshot_mac.mm
|
| @@ -8,7 +8,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/mac/scoped_cftyperef.h"
|
| -#include "base/memory/scoped_nsobject.h"
|
| +#include "base/mac/scoped_nsobject.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| namespace ui {
|
| @@ -49,7 +49,7 @@ bool GrabViewSnapshot(gfx::NativeView view,
|
| if (CGImageGetWidth(windowSnapshot) <= 0)
|
| return false;
|
|
|
| - scoped_nsobject<NSBitmapImageRep> rep(
|
| + base::scoped_nsobject<NSBitmapImageRep> rep(
|
| [[NSBitmapImageRep alloc] initWithCGImage:windowSnapshot]);
|
| NSData* data = [rep representationUsingType:NSPNGFileType properties:nil];
|
| const unsigned char* buf = static_cast<const unsigned char*>([data bytes]);
|
|
|