summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/android/ScrollViewAndroid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/android/ScrollViewAndroid.cpp')
-rw-r--r--WebCore/platform/android/ScrollViewAndroid.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/WebCore/platform/android/ScrollViewAndroid.cpp b/WebCore/platform/android/ScrollViewAndroid.cpp
index 9149deb..db20591 100644
--- a/WebCore/platform/android/ScrollViewAndroid.cpp
+++ b/WebCore/platform/android/ScrollViewAndroid.cpp
@@ -97,12 +97,9 @@ void ScrollView::platformRepaintContentRectangle(const IntRect &rect, bool now)
}
#ifdef ANDROID_CAPTURE_OFFSCREEN_PAINTS
-/*
- Compute the offscreen parts of the drawn rectangle by subtracting
- vis from rect. This can compute up to four rectangular slices.
-*/
-void ScrollView::platformOffscreenContentRectangle(const IntRect& vis,
- const IntRect& rect)
+// Compute the offscreen parts of the drawn rectangle by subtracting
+// vis from rect. This can compute up to four rectangular slices.
+void ScrollView::platformOffscreenContentRectangle(const IntRect& vis, const IntRect& rect)
{
SkRegion rectRgn = SkRegion(rect);
rectRgn.op(vis, SkRegion::kDifference_Op);