From 54696d0b9bf753e0afec0af3595cbd144cdd4a23 Mon Sep 17 00:00:00 2001 From: "rniwa@webkit.org" Date: Wed, 29 May 2013 08:53:34 +0000 Subject: [PATCH 1/1] 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 --- Source/WebCore/ChangeLog | 12 ++++++++++++ Source/WebCore/dom/StyledElement.cpp | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) 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) { } -- 2.36.0