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

Unified Diff: components/html_viewer/layout_test_content_handler_impl.h

Issue 1431573002: Fix hangs in Mandoline page cycler on Linux with --enable-multiprocess. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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
Index: components/html_viewer/layout_test_content_handler_impl.h
diff --git a/components/html_viewer/layout_test_content_handler_impl.h b/components/html_viewer/layout_test_content_handler_impl.h
index 0113783fed8bc74cc4751ed8c558a090ee536fc2..5dc9cac411a57704504eed05ba9493b4632accf5 100644
--- a/components/html_viewer/layout_test_content_handler_impl.h
+++ b/components/html_viewer/layout_test_content_handler_impl.h
@@ -37,8 +37,10 @@ class LayoutTestContentHandlerImpl : public ContentHandlerImpl,
HTMLWidgetRootLocal::CreateParams*>;
// ContentHandler:
- void StartApplication(mojo::InterfaceRequest<mojo::Application> request,
- mojo::URLResponsePtr response) override;
+ void StartApplication(
+ mojo::InterfaceRequest<mojo::Application> request,
+ mojo::URLResponsePtr response,
+ const mojo::Callback<void()>& destruct_callback) override;
// HTMLFactory
HTMLFrame* CreateHTMLFrame(HTMLFrame::CreateParams* params) override;
@@ -48,6 +50,7 @@ class LayoutTestContentHandlerImpl : public ContentHandlerImpl,
test_runner::WebTestInterfaces* test_interfaces_;
WebTestDelegateImpl* test_delegate_;
WebWidgetProxy* web_widget_proxy_;
+ scoped_ptr<mojo::AppRefCount> app_refcount_;
DISALLOW_COPY_AND_ASSIGN(LayoutTestContentHandlerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698