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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_login_handler.cc

Issue 301733006: Zoom Extension API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix javascript test function signature. Created 6 years, 5 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
Index: chrome/browser/ui/webui/ntp/ntp_login_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_login_handler.cc b/chrome/browser/ui/webui/ntp/ntp_login_handler.cc
index 64adc1971610ab48dd4495f076c03b3fafa34be8..eeb2fb10b71ca403d9e7cd764c688f7d0886f96c 100644
--- a/chrome/browser/ui/webui/ntp/ntp_login_handler.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_login_handler.cc
@@ -158,7 +158,7 @@ void NTPLoginHandler::HandleShowSyncLoginUI(const base::ListValue* args) {
DCHECK(success);
double zoom = content::ZoomLevelToZoomFactor(
- content::HostZoomMap::GetZoomLevel(web_contents));
+ ZoomController::FromWebContents(web_contents)->GetZoomLevel());
gfx::Rect rect(x * zoom, y * zoom, width * zoom, height * zoom);
browser->window()->ShowAvatarBubble(web_ui()->GetWebContents(), rect);

Powered by Google App Engine
This is Rietveld 408576698