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

Unified Diff: sky/viewer/platform/platform_impl.h

Issue 673033002: Remove WebThread (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/viewer/BUILD.gn ('k') | sky/viewer/platform/platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/platform/platform_impl.h
diff --git a/sky/viewer/platform/platform_impl.h b/sky/viewer/platform/platform_impl.h
index 0afb9cf7bb4c8b19b44c2710c29e56c06bc1efea..113c37624f244f29b1053bb5054085f1313265cf 100644
--- a/sky/viewer/platform/platform_impl.h
+++ b/sky/viewer/platform/platform_impl.h
@@ -46,7 +46,6 @@ class PlatformImpl : public blink::Platform {
const blink::WebURL& url, blink::WebString& mime_type,
blink::WebString& charset);
virtual blink::WebURLError cancelledError(const blink::WebURL& url) const;
- virtual blink::WebThread* currentThread();
virtual blink::WebWaitableEvent* createWaitableEvent();
virtual blink::WebWaitableEvent* waitMultipleEvents(
const blink::WebVector<blink::WebWaitableEvent*>& events);
@@ -89,8 +88,6 @@ class PlatformImpl : public blink::Platform {
shared_timer_func_();
}
- static void DestroyCurrentThread(void*);
-
mojo::NetworkServicePtr network_service_;
base::MessageLoop* main_loop_;
base::OneShotTimer<PlatformImpl> shared_timer_;
@@ -98,7 +95,6 @@ class PlatformImpl : public blink::Platform {
double shared_timer_fire_time_;
bool shared_timer_fire_time_was_set_while_suspended_;
int shared_timer_suspended_; // counter
- base::ThreadLocalStorage::Slot current_thread_slot_;
sky_viewer_cc::WebCompositorSupportImpl compositor_support_;
WebThemeEngineImpl theme_engine_;
WebMimeRegistryImpl mime_registry_;
« no previous file with comments | « sky/viewer/BUILD.gn ('k') | sky/viewer/platform/platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698