Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Unified Diff: chrome/renderer/extensions/notifications_native_handler.cc

Issue 320043003: Fixes a typo in notifications that prevented large image scaling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/notifications/api/basic_usage/background.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/notifications_native_handler.cc
diff --git a/chrome/renderer/extensions/notifications_native_handler.cc b/chrome/renderer/extensions/notifications_native_handler.cc
index a08284b2783a9454c82187e993c678d7afb8f9da..ba0e17a5252be0ad9b5141e9a4d828c647c4b18f 100644
--- a/chrome/renderer/extensions/notifications_native_handler.cc
+++ b/chrome/renderer/extensions/notifications_native_handler.cc
@@ -25,7 +25,7 @@ NotificationsNativeHandler::NotificationsNativeHandler(ScriptContext* context)
void NotificationsNativeHandler::GetNotificationImageSizes(
const v8::FunctionCallbackInfo<v8::Value>& args) {
- NotificationBitmapSizes bitmap_sizes = NotificationBitmapSizes();
+ NotificationBitmapSizes bitmap_sizes = GetNotificationBitmapSizes();
float scale_factor =
ui::GetScaleForScaleFactor(ui::GetSupportedScaleFactors().back());
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/notifications/api/basic_usage/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698