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

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: Update to match changes in content/ CL. 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
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 e170f7795deb2bc27e1f0622d9eaac2de989c090..0fbecc9f470adc0398e8d85d8a52f5a895f9fc01 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