summaryrefslogtreecommitdiffstats
path: root/views/controls/native
diff options
context:
space:
mode:
authorsaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-29 18:08:11 +0000
committersaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-29 18:08:11 +0000
commit0f9aa0321fd8e7f37e1ca940e26c0ae80cc5ca26 (patch)
tree47fb67a0ebd4b20981e697b719eee1a4d846f486 /views/controls/native
parent7f5684c5cdf51d9f9497c56ba77f60d61dabf43b (diff)
downloadchromium_src-0f9aa0321fd8e7f37e1ca940e26c0ae80cc5ca26.zip
chromium_src-0f9aa0321fd8e7f37e1ca940e26c0ae80cc5ca26.tar.gz
chromium_src-0f9aa0321fd8e7f37e1ca940e26c0ae80cc5ca26.tar.bz2
Removed a couple of #ifdef TOUCH_UI and replaced with Widget::IsPureViews()
BUG=none TEST=none Review URL: http://codereview.chromium.org/7253058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90978 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/native')
-rw-r--r--views/controls/native/native_view_host_gtk.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/controls/native/native_view_host_gtk.cc b/views/controls/native/native_view_host_gtk.cc
index 6c709f8..fbe4d3e 100644
--- a/views/controls/native/native_view_host_gtk.cc
+++ b/views/controls/native/native_view_host_gtk.cc
@@ -379,8 +379,7 @@ NativeViewHostWrapper* NativeViewHostWrapper::CreateWrapper(
NativeViewHost* host) {
if (Widget::IsPureViews())
return new NativeViewHostViews(host);
- else
- return new NativeViewHostGtk(host);
+ return new NativeViewHostGtk(host);
}
} // namespace views