summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/GraphicsContext.cpp
diff options
context:
space:
mode:
authorVictoria Lease <violets@google.com>2012-02-23 13:57:14 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-02-23 13:57:14 -0800
commit4a5f33e5a7028a2f5ac38cb47533d5470755ec21 (patch)
treead06a0de7a8397e25cc54637c646cd6869463e74 /Source/WebCore/platform/graphics/GraphicsContext.cpp
parent49be9fd5f37bd2633874b9b4236d965933ab24cb (diff)
parente52b702893ce72ec42d7bf62c4975b4ef61067d2 (diff)
downloadexternal_webkit-4a5f33e5a7028a2f5ac38cb47533d5470755ec21.zip
external_webkit-4a5f33e5a7028a2f5ac38cb47533d5470755ec21.tar.gz
external_webkit-4a5f33e5a7028a2f5ac38cb47533d5470755ec21.tar.bz2
Merge "draw inactive find-on-page matches as outlines"
Diffstat (limited to 'Source/WebCore/platform/graphics/GraphicsContext.cpp')
-rw-r--r--Source/WebCore/platform/graphics/GraphicsContext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/GraphicsContext.cpp b/Source/WebCore/platform/graphics/GraphicsContext.cpp
index 65cc6df..e032714 100644
--- a/Source/WebCore/platform/graphics/GraphicsContext.cpp
+++ b/Source/WebCore/platform/graphics/GraphicsContext.cpp
@@ -432,6 +432,7 @@ void GraphicsContext::drawBidiText(const Font& font, const TextRun& run, const F
bidiRuns.deleteRuns();
}
+#if !PLATFORM(ANDROID)
void GraphicsContext::drawHighlightForText(const Font& font, const TextRun& run, const FloatPoint& point, int h, const Color& backgroundColor, ColorSpace colorSpace, int from, int to)
{
if (paintingDisabled())
@@ -439,6 +440,7 @@ void GraphicsContext::drawHighlightForText(const Font& font, const TextRun& run,
fillRect(font.selectionRectForText(run, point, h, from, to), backgroundColor, colorSpace);
}
+#endif
void GraphicsContext::drawImage(Image* image, ColorSpace styleColorSpace, const FloatRect& dest, const FloatRect& src, CompositeOperator op, bool useLowQualityScale)
{