summaryrefslogtreecommitdiffstats
path: root/content/browser/compositor
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-19 21:15:58 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-19 21:15:58 +0000
commite8306625ed3b7fdc9ad20b231c78ebd25ae236b3 (patch)
treea20c844a0eedc1f9245c7e09321896567ddc75bd /content/browser/compositor
parent2a8edd15a8c5480f9846dfd24b14d1238d2d13fc (diff)
downloadchromium_src-e8306625ed3b7fdc9ad20b231c78ebd25ae236b3.zip
chromium_src-e8306625ed3b7fdc9ad20b231c78ebd25ae236b3.tar.gz
chromium_src-e8306625ed3b7fdc9ad20b231c78ebd25ae236b3.tar.bz2
Fix "unreachable code" warnings (MSVC warning 4702) in content/.
BUG=346399 TEST=none R=jam@chromium.org Review URL: https://codereview.chromium.org/202863004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/compositor')
-rw-r--r--content/browser/compositor/gpu_process_transport_factory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index 56a9cb4..bc9f7ec 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -174,10 +174,10 @@ scoped_ptr<cc::SoftwareOutputDevice> CreateSoftwareOutputDevice(
#elif defined(USE_X11)
return scoped_ptr<cc::SoftwareOutputDevice>(new SoftwareOutputDeviceX11(
compositor));
-#endif
-
+#else
NOTREACHED();
return scoped_ptr<cc::SoftwareOutputDevice>();
+#endif
}
scoped_ptr<cc::OutputSurface> GpuProcessTransportFactory::CreateOutputSurface(