Index: ui/gfx/gtk_util.h |
diff --git a/ui/gfx/gtk_util.h b/ui/gfx/gtk_util.h |
index 323f1df38a090fe1af3306abbc9cf9f92ae35648..bb99bf93d90b133bbeeb19b56b34d5b7b5c6b782 100644 |
--- a/ui/gfx/gtk_util.h |
+++ b/ui/gfx/gtk_util.h |
@@ -30,7 +30,7 @@ UI_EXPORT void GdkInitFromCommandLine(const CommandLine& command_line); |
// Convert and copy a SkBitmap to a GdkPixbuf. NOTE: this uses BGRAToRGBA, so |
// it is an expensive operation. The returned GdkPixbuf will have a refcount of |
// 1, and the caller is responsible for unrefing it when done. |
-UI_EXPORT GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap* bitmap); |
+UI_EXPORT GdkPixbuf* GdkPixbufFromSkBitmap(const SkBitmap& bitmap); |
// Modify the given region by subtracting the given rectangles. |
UI_EXPORT void SubtractRectanglesFromRegion(GdkRegion* region, |