diff options
author | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-30 19:02:16 +0000 |
---|---|---|
committer | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-30 19:02:16 +0000 |
commit | c6d9422188208e9034891c3cb46d37171e33208c (patch) | |
tree | 82dd7b79d7b1ff2b67f7bf55eedc360e87084a37 /views/controls/textfield | |
parent | b00bbb39365d95b4e8d95302d1e18507997fd1ec (diff) | |
download | chromium_src-c6d9422188208e9034891c3cb46d37171e33208c.zip chromium_src-c6d9422188208e9034891c3cb46d37171e33208c.tar.gz chromium_src-c6d9422188208e9034891c3cb46d37171e33208c.tar.bz2 |
In preparation for NativeTheme refactoring, renaming the class NativeTheme
to NativeThemeWin, since it is windows specific anyway.
BUG=None
TEST=None
R=xiyuan@chromium.org
Review URL: http://codereview.chromium.org/6778009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79874 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/textfield')
-rw-r--r-- | views/controls/textfield/native_textfield_win.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/controls/textfield/native_textfield_win.cc b/views/controls/textfield/native_textfield_win.cc index f8b2ea2..a9e6ecb 100644 --- a/views/controls/textfield/native_textfield_win.cc +++ b/views/controls/textfield/native_textfield_win.cc @@ -871,9 +871,9 @@ void NativeTextfieldWin::OnNCPaint(HRGN region) { int classic_state = (!textfield_->IsEnabled() || textfield_->read_only()) ? DFCS_INACTIVE : 0; - gfx::NativeTheme::instance()->PaintTextField(hdc, part, state, classic_state, - &window_rect, bg_color_, false, - true); + gfx::NativeThemeWin::instance()->PaintTextField(hdc, part, state, + classic_state, &window_rect, + bg_color_, false, true); // NOTE: I tried checking the transparent property of the theme and invoking // drawParentBackground, but it didn't seem to make a difference. |