summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/history/PageCache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/history/PageCache.cpp')
-rw-r--r--Source/WebCore/history/PageCache.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebCore/history/PageCache.cpp b/Source/WebCore/history/PageCache.cpp
index 204ab36..818aa38 100644
--- a/Source/WebCore/history/PageCache.cpp
+++ b/Source/WebCore/history/PageCache.cpp
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2007 Apple Inc. All rights reserved.
+ * Copyright (C) 2011, Sony Ericsson Mobile Communications AB
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -283,6 +284,9 @@ bool PageCache::canCachePageContainingThisFrame(Frame* frame)
&& !frame->document()->containsWMLContent()
&& !frame->document()->isWMLDocument()
#endif
+#if ENABLE(WEBGL) && PLATFORM(ANDROID)
+ && !frame->document()->containsWebGLContent()
+#endif
&& frame->loader()->client()->canCachePage();
}