summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderButton.cpp
diff options
context:
space:
mode:
authorFeng Qian <fqian@google.com>2009-06-17 12:12:20 -0700
committerFeng Qian <fqian@google.com>2009-06-17 12:12:20 -0700
commit5f1ab04193ad0130ca8204aadaceae083aca9881 (patch)
tree5a92cd389e2cfe7fb67197ce14b38469462379f8 /WebCore/rendering/RenderButton.cpp
parent194315e5a908cc8ed67d597010544803eef1ac59 (diff)
downloadexternal_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.zip
external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.gz
external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.bz2
Get WebKit r44544.
Diffstat (limited to 'WebCore/rendering/RenderButton.cpp')
-rw-r--r--WebCore/rendering/RenderButton.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/rendering/RenderButton.cpp b/WebCore/rendering/RenderButton.cpp
index d64d7c3..b266f42 100644
--- a/WebCore/rendering/RenderButton.cpp
+++ b/WebCore/rendering/RenderButton.cpp
@@ -180,6 +180,13 @@ IntRect RenderButton::controlClipRect(int tx, int ty) const
void RenderButton::timerFired(Timer<RenderButton>*)
{
+ // FIXME Bug 25110: Ideally we would stop our timer when our Document
+ // enters the page cache. But we currently have no way of being notified
+ // when that happens, so we'll just ignore the timer firing as long as
+ // we're in the cache.
+ if (document()->inPageCache())
+ return;
+
repaint();
}