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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.h

Issue 1331533002: [poc] curve-filter Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix CanvasRenderingContext2D::createPattern crash for #40 Created 4 years, 11 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/scroll/Scrollbar.h
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.h b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
index 9b969b21fff408e3af9061d5859c361edcd97e14..e6a072bf765bfe8f76f7c75d584f592b04d0688d 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.h
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
@@ -133,6 +133,8 @@ public:
void mouseDown(const PlatformMouseEvent&);
ScrollbarTheme& theme() const { return m_theme; }
+ void setScreenId(uintptr_t id) { m_screenId = id; }
+ uintptr_t screenId() const { return m_screenId; }
IntRect convertToContainingWidget(const IntRect&) const override;
IntRect convertFromContainingWidget(const IntRect&) const override;
@@ -195,6 +197,7 @@ protected:
ScrollbarControlSize m_controlSize;
ScrollbarTheme& m_theme;
RawPtrWillBeMember<HostWindow> m_hostWindow;
+ uintptr_t m_screenId;
int m_visibleSize;
int m_totalSize;

Powered by Google App Engine
This is Rietveld 408576698