summaryrefslogtreecommitdiffstats
path: root/ui/views/controls
diff options
context:
space:
mode:
authorsiggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-18 20:40:06 +0000
committersiggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-18 20:40:06 +0000
commit7bf385c831f60fe166f0a9e4370a4542d2d40ff3 (patch)
treef24ecac3a32c2a7d14969693efdfac1058e2f6a2 /ui/views/controls
parent3a36243cac7dbb5d700b25d3d51736895b4388f0 (diff)
downloadchromium_src-7bf385c831f60fe166f0a9e4370a4542d2d40ff3.zip
chromium_src-7bf385c831f60fe166f0a9e4370a4542d2d40ff3.tar.gz
chromium_src-7bf385c831f60fe166f0a9e4370a4542d2d40ff3.tar.bz2
Implement base::win::IsMetroProcess.
Change GetMetroModule callers that don't need the HMODULE. TBR=stevenjb@chromium.org,brettw@chromium.org,mirandac@chromium.org,sky@chromium.org,kalman@chromium.org BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10560015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142801 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/controls')
-rw-r--r--ui/views/controls/textfield/native_textfield_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/controls/textfield/native_textfield_win.cc b/ui/views/controls/textfield/native_textfield_win.cc
index 39fb411..ec98132 100644
--- a/ui/views/controls/textfield/native_textfield_win.cc
+++ b/ui/views/controls/textfield/native_textfield_win.cc
@@ -124,7 +124,7 @@ NativeTextfieldWin::NativeTextfieldWin(Textfield* textfield)
text_object_model_.QueryFrom(ole_interface);
if (base::win::GetVersion() >= base::win::VERSION_WIN8 &&
- !base::win::GetMetroModule()) {
+ !base::win::IsMetroProcess()) {
keyboard_.CreateInstance(__uuidof(TextInputPanel), NULL, CLSCTX_INPROC);
if (keyboard_ != NULL)
keyboard_->put_AttachedEditWindow(m_hWnd);