projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git]
/
src
/
ui
/
message_center
/
views
/
notification_view_unittest.cc
diff --git
a/src/ui/message_center/views/notification_view_unittest.cc
b/src/ui/message_center/views/notification_view_unittest.cc
index
b6d6752
..
fc2116e
100644
(file)
--- a/
src/ui/message_center/views/notification_view_unittest.cc
+++ b/
src/ui/message_center/views/notification_view_unittest.cc
@@
-54,8
+54,7
@@
class NotificationViewTest : public views::ViewsTestBase,
const SkBitmap CreateBitmap(int width, int height) {
SkBitmap bitmap;
- bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height);
- bitmap.allocPixels();
+ bitmap.allocN32Pixels(width, height);
bitmap.eraseRGB(0, 255, 0);
return bitmap;
}