PresentationAttributeCacheCleaner::m_hitCount is never initialized
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 May 2013 08:53:34 +0000 (08:53 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 May 2013 08:53:34 +0000 (08:53 +0000)
https://bugs.webkit.org/show_bug.cgi?id=116946

Reviewed by Andreas Kling.

Merge https://chromium.googlesource.com/chromium/blink/+/70be7ddc41141ef6dec7795d37842c27dab2e194.

* dom/StyledElement.cpp:
(WebCore::PresentationAttributeCacheCleaner::PresentationAttributeCacheCleaner):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150877 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/dom/StyledElement.cpp

index 894c60d83d17f5a21e0d461b45ad248a4fc28279..43fc9c2a7b9400240dbb44d5f366784949da5b83 100644 (file)
@@ -1,3 +1,15 @@
+2013-05-29  Ryosuke Niwa  <rniwa@webkit.org>
+
+        PresentationAttributeCacheCleaner::m_hitCount is never initialized
+        https://bugs.webkit.org/show_bug.cgi?id=116946
+
+        Reviewed by Andreas Kling.
+
+        Merge https://chromium.googlesource.com/chromium/blink/+/70be7ddc41141ef6dec7795d37842c27dab2e194.
+
+        * dom/StyledElement.cpp:
+        (WebCore::PresentationAttributeCacheCleaner::PresentationAttributeCacheCleaner):
+
 2013-05-29  Kent Tamura  <tkent@chromium.org>
 
         Remove ENABLE_INPUT_MULTIPLE_FIELDS_UI.
index e225990899c690a97d40412815190991fc7dd8c9..e6a6da7ce1e233c21f99780d13245282d98781b1 100644 (file)
@@ -86,7 +86,8 @@ class PresentationAttributeCacheCleaner {
     WTF_MAKE_NONCOPYABLE(PresentationAttributeCacheCleaner); WTF_MAKE_FAST_ALLOCATED;
 public:
     PresentationAttributeCacheCleaner()
-        : m_cleanTimer(this, &PresentationAttributeCacheCleaner::cleanCache)
+        : m_hitCount(0)
+        , m_cleanTimer(this, &PresentationAttributeCacheCleaner::cleanCache)
     {
     }