summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/PlatformGraphicsContext.h
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-05-18 18:46:52 +0100
committerSteve Block <steveblock@google.com>2011-05-25 12:25:50 +0100
commit1ed8c4d16ac986307f1c0589a3a720a37e60f313 (patch)
treefc36f1aa9c4389b3d03a6fc2e2623e2a1a267150 /Source/WebCore/platform/graphics/android/PlatformGraphicsContext.h
parent09b60ab8488b362c96df8f268613aafaeebfcfa1 (diff)
downloadexternal_webkit-1ed8c4d16ac986307f1c0589a3a720a37e60f313.zip
external_webkit-1ed8c4d16ac986307f1c0589a3a720a37e60f313.tar.gz
external_webkit-1ed8c4d16ac986307f1c0589a3a720a37e60f313.tar.bz2
Merge WebKit at r78450: IntRect::bottom()/right() renamed
See http://trac.webkit.org/changeset/77286 and http://trac.webkit.org/changeset/77398 Change-Id: I0ae670bff327fb981e037f5394c55bfb4aeb81eb
Diffstat (limited to 'Source/WebCore/platform/graphics/android/PlatformGraphicsContext.h')
-rw-r--r--Source/WebCore/platform/graphics/android/PlatformGraphicsContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/PlatformGraphicsContext.h b/Source/WebCore/platform/graphics/android/PlatformGraphicsContext.h
index 0ce86d2..98fcc49 100644
--- a/Source/WebCore/platform/graphics/android/PlatformGraphicsContext.h
+++ b/Source/WebCore/platform/graphics/android/PlatformGraphicsContext.h
@@ -118,7 +118,7 @@ public:
state == WebCore::RenderSkinAndroid::kFocused)
return;
m_state = state;
- SkCanvas* canvas = m_picture->beginRecording(m_rect.right(), m_rect.bottom());
+ SkCanvas* canvas = m_picture->beginRecording(m_rect.maxX(), m_rect.maxY());
buttonSkin->draw(canvas, m_rect, state);
m_picture->endRecording();
}