| Index: ui/snapshot/snapshot.h
|
| diff --git a/ui/snapshot/snapshot.h b/ui/snapshot/snapshot.h
|
| index 15b3db04f0ce4cca72502985384d414a06345c8f..d6fb6b8b0183326b7b2414e050d1f17bac2dc918 100644
|
| --- a/ui/snapshot/snapshot.h
|
| +++ b/ui/snapshot/snapshot.h
|
| @@ -27,7 +27,7 @@ namespace ui {
|
| // Grabs a snapshot of the window/view. No security checks are done. This is
|
| // intended to be used for debugging purposes where no BrowserProcess instance
|
| // is available (ie. tests). This function is synchronous, so it should NOT be
|
| -// used in a result of user action. Use asynchronous GrapWindowSnapshotAsync()
|
| +// used in a result of user action. Use asynchronous GrabWindowSnapshotAsync()
|
| // instead.
|
| SNAPSHOT_EXPORT bool GrabWindowSnapshot(
|
| gfx::NativeWindow window,
|
| @@ -39,16 +39,16 @@ SNAPSHOT_EXPORT bool GrabViewSnapshot(
|
| std::vector<unsigned char>* png_representation,
|
| const gfx::Rect& snapshot_bounds);
|
|
|
| -// GrapWindowSnapshotAsync() copies snapshot of |source_rect| from window and
|
| +// GrabWindowSnapshotAsync() copies snapshot of |source_rect| from window and
|
| // scales it to |target_size| asynchronously.
|
| typedef base::Callback<void(const gfx::Image& snapshot)>
|
| - GrapWindowSnapshotAsyncCallback;
|
| -SNAPSHOT_EXPORT void GrapWindowSnapshotAsync(
|
| + GrabWindowSnapshotAsyncCallback;
|
| +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);
|
|
|
| } // namespace ui
|
|
|
|
|