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

Unified Diff: third_party/WebKit/Source/platform/exported/WebScrollbarImpl.h

Issue 2704673003: Check same-thread Persistent<> read access. (Closed)
Patch Set: final comments Created 3 years, 10 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/platform/exported/WebScrollbarImpl.h
diff --git a/third_party/WebKit/Source/platform/exported/WebScrollbarImpl.h b/third_party/WebKit/Source/platform/exported/WebScrollbarImpl.h
index 5cb907972b0a7f83f55039c8ac81d1e5ed1d52fb..f9b8ad0f82235ad7e3a3ed2e57378a3b6dab7b6e 100644
--- a/third_party/WebKit/Source/platform/exported/WebScrollbarImpl.h
+++ b/third_party/WebKit/Source/platform/exported/WebScrollbarImpl.h
@@ -69,7 +69,8 @@ class PLATFORM_EXPORT WebScrollbarImpl final : public WebScrollbar {
private:
explicit WebScrollbarImpl(Scrollbar*);
- Persistent<Scrollbar> m_scrollbar;
+ // Accessed by main and compositor threads.
+ CrossThreadPersistent<Scrollbar> m_scrollbar;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698