Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Unified Diff: ui/snapshot/snapshot_aura.cc

Issue 123473002: Fix GrapWindowSnapshot typo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/snapshot/snapshot_android.cc ('k') | ui/snapshot/snapshot_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/snapshot/snapshot_aura.cc
diff --git a/ui/snapshot/snapshot_aura.cc b/ui/snapshot/snapshot_aura.cc
index 8e7ba3101db76b2a2090cad0d6601a8009da8017..5fdd4dc519110e8b747685dc03420d019a4ceeaf 100644
--- a/ui/snapshot/snapshot_aura.cc
+++ b/ui/snapshot/snapshot_aura.cc
@@ -35,13 +35,13 @@ namespace ui {
namespace {
void OnFrameScalingFinished(
- const GrapWindowSnapshotAsyncCallback& callback,
+ const GrabWindowSnapshotAsyncCallback& callback,
const SkBitmap& scaled_bitmap) {
callback.Run(gfx::Image(gfx::ImageSkia::CreateFrom1xBitmap(scaled_bitmap)));
}
void ScaleCopyOutputResult(
- const GrapWindowSnapshotAsyncCallback& callback,
+ const GrabWindowSnapshotAsyncCallback& callback,
const gfx::Size& target_size,
scoped_refptr<base::TaskRunner> background_task_runner,
scoped_ptr<cc::CopyOutputResult> result) {
@@ -136,12 +136,12 @@ bool GrabWindowSnapshot(gfx::NativeWindow window,
png_representation);
}
-SNAPSHOT_EXPORT void GrapWindowSnapshotAsync(
+SNAPSHOT_EXPORT void GrabWindowSnapshotAsync(
gfx::NativeWindow window,
const gfx::Rect& source_rect,
const gfx::Size& target_size,
scoped_refptr<base::TaskRunner> background_task_runner,
- const GrapWindowSnapshotAsyncCallback& callback) {
+ const GrabWindowSnapshotAsyncCallback& callback) {
scoped_ptr<cc::CopyOutputRequest> request =
cc::CopyOutputRequest::CreateBitmapRequest(
base::Bind(&ScaleCopyOutputResult, callback, target_size,
« no previous file with comments | « ui/snapshot/snapshot_android.cc ('k') | ui/snapshot/snapshot_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698