Index: ui/gfx/ipc/gfx_param_traits.cc |
diff --git a/ui/gfx/ipc/gfx_param_traits.cc b/ui/gfx/ipc/gfx_param_traits.cc |
index a6444d063d5ec1c3a77944b95f5faeb5e48e6089..db4c92e2d9475b9b00699b70f3efada07b7cd27c 100644 |
--- a/ui/gfx/ipc/gfx_param_traits.cc |
+++ b/ui/gfx/ipc/gfx_param_traits.cc |
@@ -28,10 +28,10 @@ struct SkBitmap_Data { |
void InitSkBitmapDataForTransfer(const SkBitmap& bitmap) { |
const SkImageInfo& info = bitmap.info(); |
- fColorType = info.fColorType; |
- fAlphaType = info.fAlphaType; |
- fWidth = info.fWidth; |
- fHeight = info.fHeight; |
+ fColorType = info.colorType(); |
+ fAlphaType = info.alphaType(); |
+ fWidth = info.width(); |
+ fHeight = info.height(); |
} |
// Returns whether |bitmap| successfully initialized. |