| Index: chrome/browser/ui/webui/web_ui_util.h
|
| diff --git a/chrome/browser/ui/webui/web_ui_util.h b/chrome/browser/ui/webui/web_ui_util.h
|
| index 99a2b46570adab2f6a38aef462b94d3d3e8ebbff..5a5e6d23f9db3dad266f3e6ef082e870a4d14bb2 100644
|
| --- a/chrome/browser/ui/webui/web_ui_util.h
|
| +++ b/chrome/browser/ui/webui/web_ui_util.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 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.
|
|
|
| @@ -11,13 +11,15 @@
|
| #include "base/values.h"
|
| #include "webkit/glue/window_open_disposition.h"
|
|
|
| -class SkBitmap;
|
| +namespace gfx {
|
| +class ImageSkia;
|
| +}
|
|
|
| namespace web_ui_util {
|
|
|
| -// Convenience routine to convert SkBitmap object to data url
|
| +// Convenience routine to convert ImageSkia object to data url
|
| // so that it can be used in WebUI.
|
| -std::string GetImageDataUrl(const SkBitmap& bitmap);
|
| +std::string GetImageDataUrl(const gfx::ImageSkia& image);
|
|
|
| // Convenience routine to get data url that corresponds to given
|
| // resource_id as an image. This function does not check if the
|
|
|