Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: content/test/mock_webclipboard_impl.cc

Issue 202863004: Fix "unreachable code" warnings (MSVC warning 4702) in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/renderer/test_runner/TestPlugin.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/mock_webclipboard_impl.cc
===================================================================
--- content/test/mock_webclipboard_impl.cc (revision 257821)
+++ content/test/mock_webclipboard_impl.cc (working copy)
@@ -45,20 +45,6 @@
NOTREACHED();
return false;
}
-
- switch (buffer) {
- case BufferStandard:
- break;
- case BufferSelection:
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
- break;
-#endif
- default:
- NOTREACHED();
- return false;
- }
-
- return true;
}
WebVector<WebString> MockWebClipboardImpl::readAvailableTypes(
« no previous file with comments | « content/shell/renderer/test_runner/TestPlugin.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698