| Index: chrome/browser/ui/cocoa/bug_report_window_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/bug_report_window_controller.mm b/chrome/browser/ui/cocoa/bug_report_window_controller.mm
|
| index c55954c8fbdcf0194e2d629fa6d651cddfdc0606..549b3c3cd07b03a66826fc024addba4f1511c354 100644
|
| --- a/chrome/browser/ui/cocoa/bug_report_window_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/bug_report_window_controller.mm
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -9,6 +9,7 @@
|
| #include "chrome/browser/bug_report_util.h"
|
| #include "chrome/browser/tab_contents/tab_contents.h"
|
| #include "chrome/browser/tab_contents/tab_contents_view.h"
|
| +#include "chrome/browser/ui/window_snapshot/window_snapshot.h"
|
| #include "grit/chromium_strings.h"
|
| #include "grit/generated_resources.h"
|
| #include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h"
|
| @@ -62,7 +63,7 @@
|
| [self setPageURL:base::SysUTF8ToNSString(
|
| currentTab_->controller().GetActiveEntry()->url().spec())];
|
| [self setPageTitle:base::SysUTF16ToNSString(currentTab_->GetTitle())];
|
| - base::mac::GrabWindowSnapshot(
|
| + browser::GrabWindowSnapshot(
|
| currentTab_->view()->GetTopLevelNativeWindow(), &pngData_,
|
| &pngWidth_, &pngHeight_);
|
| } else {
|
|
|