From: rniwa@webkit.org Date: Wed, 29 May 2013 08:53:34 +0000 (+0000) Subject: PresentationAttributeCacheCleaner::m_hitCount is never initialized X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=54696d0b9bf753e0afec0af3595cbd144cdd4a23;hp=ad19e642a81f8eec7a6adb2b9771887e4fcb86a1 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): git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150877 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index 894c60d83d17..43fc9c2a7b94 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,15 @@ +2013-05-29 Ryosuke Niwa + + 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 Remove ENABLE_INPUT_MULTIPLE_FIELDS_UI. diff --git a/Source/WebCore/dom/StyledElement.cpp b/Source/WebCore/dom/StyledElement.cpp index e225990899c6..e6a6da7ce1e2 100644 --- a/Source/WebCore/dom/StyledElement.cpp +++ b/Source/WebCore/dom/StyledElement.cpp @@ -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) { }