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

Unified Diff: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp

Issue 2738133002: Provide an overload to WebView::create that does not require a WebViewClient. (Closed)
Patch Set: Add a derived WebViewClient and use it when no client is passed. Created 3 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
Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
index 1ffd05db72fc99a89274c835b1bf4eadf2fe8cf8..67370418a0a97c157a9f59c59769ea3ad7f15f64 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
@@ -126,7 +126,7 @@ void WebSharedWorkerImpl::initializeLoader() {
// loading requests from the worker context to the rest of WebKit and Chromium
// infrastructure.
DCHECK(!m_webView);
- m_webView = WebView::create(nullptr, WebPageVisibilityStateVisible);
+ m_webView = WebView::create(WebPageVisibilityStateVisible);
// FIXME: http://crbug.com/363843. This needs to find a better way to
// not create graphics layers.
m_webView->settings()->setAcceleratedCompositingEnabled(false);
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698