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

Unified Diff: content/renderer/android/synchronous_compositor_factory.cc

Issue 1408123005: Android Webview IPC-based sync compositing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win compile Created 5 years, 1 month 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/content_renderer.gypi ('k') | content/renderer/android/synchronous_compositor_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/android/synchronous_compositor_factory.cc
diff --git a/content/renderer/android/synchronous_compositor_factory.cc b/content/renderer/android/synchronous_compositor_factory.cc
index b6093e7e9d6dc3ea264ee471467ec71852d86674..550b76b77b3d63e4b8899a29d513a6718e6f7196 100644
--- a/content/renderer/android/synchronous_compositor_factory.cc
+++ b/content/renderer/android/synchronous_compositor_factory.cc
@@ -4,9 +4,7 @@
#include "content/renderer/android/synchronous_compositor_factory.h"
-#include "base/command_line.h"
#include "base/logging.h"
-#include "content/public/common/content_switches.h"
namespace content {
@@ -18,11 +16,6 @@ SynchronousCompositorFactory* g_instance = NULL;
void SynchronousCompositorFactory::SetInstance(
SynchronousCompositorFactory* instance) {
DCHECK(g_instance == NULL);
-
- // This feature only makes sense in single process mode.
- CHECK(base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kSingleProcess));
-
g_instance = instance;
}
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/android/synchronous_compositor_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698