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

Unified Diff: chrome/browser/ui/views/extensions/extension_popup.cc

Issue 7015051: Re-land: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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/views/extensions/extension_popup.cc
===================================================================
--- chrome/browser/ui/views/extensions/extension_popup.cc (revision 85284)
+++ chrome/browser/ui/views/extensions/extension_popup.cc (working copy)
@@ -77,11 +77,11 @@
}
void ExtensionPopup::Show(bool activate) {
- if (visible())
+ if (popup_->IsVisible())
return;
#if defined(OS_WIN)
- frame_->GetWindow()->DisableInactiveRendering();
+ frame_->GetContainingWindow()->DisableInactiveRendering();
#endif
ResizeToView();
« no previous file with comments | « chrome/browser/ui/views/dropdown_bar_host.cc ('k') | chrome/browser/ui/views/find_bar_host_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698