summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 00:47:18 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 00:47:18 +0000
commit96886fddb95f9f0516652f07a9efd8ab16df40cc (patch)
treed21d443ac0c8b97e6f702fe3ce059fcb4567ac9b /chrome/browser/ui
parent7601c3f3fd5fe752da49e2f423d30b2ce7ba5055 (diff)
downloadchromium_src-96886fddb95f9f0516652f07a9efd8ab16df40cc.zip
chromium_src-96886fddb95f9f0516652f07a9efd8ab16df40cc.tar.gz
chromium_src-96886fddb95f9f0516652f07a9efd8ab16df40cc.tar.bz2
Include scoped_gdi_object.h where necessary.
Add base::win:: prefix to the calls to ScopedGDIObject and remove the using 'using' declaration. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6018004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69908 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui')
-rw-r--r--chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc b/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc
index 20a4b00..199e631 100644
--- a/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc
+++ b/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc
@@ -43,6 +43,7 @@
#include <dwmapi.h>
#include "app/win_util.h"
+#include "base/win/scoped_gdi_object.h"
#endif
#if defined(OS_LINUX)
@@ -1123,7 +1124,7 @@ void AutocompletePopupContentsView::UpdateBlurRegion() {
gfx::Path contents_path;
MakeContentsPath(&contents_path, contents_rect);
- ScopedGDIObject<HRGN> popup_region;
+ base::win::ScopedGDIObject<HRGN> popup_region;
popup_region.Set(contents_path.CreateNativeRegion());
bb.hRgnBlur = popup_region.Get();
DwmEnableBlurBehindWindow(GetWidget()->GetNativeView(), &bb);