diff options
author | Mike Reed <reed@google.com> | 2009-10-02 10:42:56 -0400 |
---|---|---|
committer | Mike Reed <reed@google.com> | 2009-10-02 10:42:56 -0400 |
commit | 123b7cb28d165aae5c8defbb22c5ad428fc6275c (patch) | |
tree | 81617cc3f46ceb65c89e7d9c81578728838d090b /WebCore | |
parent | a0d5dbfcbb7c62ec014dd3033ef3efac4ecd3b79 (diff) | |
download | external_webkit-123b7cb28d165aae5c8defbb22c5ad428fc6275c.zip external_webkit-123b7cb28d165aae5c8defbb22c5ad428fc6275c.tar.gz external_webkit-123b7cb28d165aae5c8defbb22c5ad428fc6275c.tar.bz2 |
remove unneeded ANDROID_ALLOW_TRANSPARENT_BACKGROUNDS
http://b/issue?id=2146657
Diffstat (limited to 'WebCore')
-rw-r--r-- | WebCore/WebCorePrefixAndroid.h | 1 | ||||
-rw-r--r-- | WebCore/rendering/RenderBoxModelObject.cpp | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/WebCore/WebCorePrefixAndroid.h b/WebCore/WebCorePrefixAndroid.h index 901af5f..01e9b28 100644 --- a/WebCore/WebCorePrefixAndroid.h +++ b/WebCore/WebCorePrefixAndroid.h @@ -94,7 +94,6 @@ typedef unsigned char flex_uint8_t; // Converts ListBoxes to dropdown popup lists. #define ANDROID_LISTBOX_USES_MENU_LIST -#define ANDROID_ALLOW_TRANSPARENT_BACKGROUNDS #define ANDROID_HISTORY_CLIENT #define ANDROID_MULTIPLE_WINDOWS #define ANDROID_CSS_TAP_HIGHLIGHT_COLOR diff --git a/WebCore/rendering/RenderBoxModelObject.cpp b/WebCore/rendering/RenderBoxModelObject.cpp index 3a7ff71..2b05170 100644 --- a/WebCore/rendering/RenderBoxModelObject.cpp +++ b/WebCore/rendering/RenderBoxModelObject.cpp @@ -439,12 +439,8 @@ void RenderBoxModelObject::paintFillLayerExtended(const PaintInfo& paintInfo, co context->setCompositeOperation(CompositeCopy); context->fillRect(rect, baseColor); context->restore(); -#ifdef ANDROID_ALLOW_TRANSPARENT_BACKGROUNDS - } -#else } else context->clearRect(rect); -#endif } if (bgColor.isValid() && bgColor.alpha() > 0) |