summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/GLWebViewState.cpp
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2011-01-13 11:35:07 -0800
committerTeng-Hui Zhu <ztenghui@google.com>2011-01-13 14:59:04 -0800
commitb3821dbf4f4d56f745a9782b36fa14b56f5cc3c8 (patch)
tree9df068168d3b5cd66992afe774bb743e3644fd8f /WebCore/platform/graphics/android/GLWebViewState.cpp
parent2c6a54e2748be2c78f059761f711cdc02cd062fa (diff)
downloadexternal_webkit-b3821dbf4f4d56f745a9782b36fa14b56f5cc3c8.zip
external_webkit-b3821dbf4f4d56f745a9782b36fa14b56f5cc3c8.tar.gz
external_webkit-b3821dbf4f4d56f745a9782b36fa14b56f5cc3c8.tar.bz2
Revert a WAR.
Revert a WAR for issue 3215000. https://android-git.corp.google.com/g/#change,81012 With the current fix, this WAR is not necessary. b:3215000 Change-Id: I47261f19fbd87864d6b41edfbdb50be1fbbfccc7
Diffstat (limited to 'WebCore/platform/graphics/android/GLWebViewState.cpp')
-rw-r--r--WebCore/platform/graphics/android/GLWebViewState.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/WebCore/platform/graphics/android/GLWebViewState.cpp b/WebCore/platform/graphics/android/GLWebViewState.cpp
index 7c2f851..1c32848 100644
--- a/WebCore/platform/graphics/android/GLWebViewState.cpp
+++ b/WebCore/platform/graphics/android/GLWebViewState.cpp
@@ -237,12 +237,6 @@ void GLWebViewState::setViewport(SkRect& viewport, float scale)
static_cast<int>(ceilf(viewport.fBottom * invTileContentHeight)));
}
-bool GLWebViewState::hasContent()
-{
- android::Mutex::Autolock lock(m_baseLayerLock);
- return m_baseLayer;
-}
-
} // namespace WebCore
#endif // USE(ACCELERATED_COMPOSITING)