| 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..1547841b94ed21f3b9391dc72f7bbad7ad52ee1c 100644
|
| --- a/third_party/WebKit/Source/platform/exported/WebScrollbarImpl.h
|
| +++ b/third_party/WebKit/Source/platform/exported/WebScrollbarImpl.h
|
| @@ -69,7 +69,11 @@ class PLATFORM_EXPORT WebScrollbarImpl final : public WebScrollbar {
|
| private:
|
| explicit WebScrollbarImpl(Scrollbar*);
|
|
|
| - Persistent<Scrollbar> m_scrollbar;
|
| + // Accessed by main and compositor threads, e.g., the compositor thread
|
| + // checks |orientation()|.
|
| + //
|
| + // TODO: minimize or avoid cross-thread use, if possible.
|
| + CrossThreadPersistent<Scrollbar> m_scrollbar;
|
| };
|
|
|
| } // namespace blink
|
|
|