From 09a0f410d43d5c4a8a7e6f7bab2eb1a2fa2daee9 Mon Sep 17 00:00:00 2001 From: "timothy_horton@apple.com" Date: Fri, 6 Apr 2012 23:41:35 +0000 Subject: [PATCH] m_shouldRespectImageOrientation is used uninitialized https://bugs.webkit.org/show_bug.cgi?id=83410 Reviewed by Simon Fraser. Initialize Settings's m_shouldRespectImageOrientation to false. * page/Settings.cpp: (WebCore::Settings::Settings): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113519 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebCore/ChangeLog | 12 ++++++++++++ Source/WebCore/page/Settings.cpp | 1 + 2 files changed, 13 insertions(+) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index b5d8c11..39ffd20 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,15 @@ +2012-04-06 Tim Horton + + m_shouldRespectImageOrientation is used uninitialized + https://bugs.webkit.org/show_bug.cgi?id=83410 + + Reviewed by Simon Fraser. + + Initialize Settings's m_shouldRespectImageOrientation to false. + + * page/Settings.cpp: + (WebCore::Settings::Settings): + 2012-04-06 James Robinson [chromium] Clear values in combinedClear path not respected in WebGLRenderingContext::clearIfComposited() diff --git a/Source/WebCore/page/Settings.cpp b/Source/WebCore/page/Settings.cpp index 35b0f58..d4f83da 100644 --- a/Source/WebCore/page/Settings.cpp +++ b/Source/WebCore/page/Settings.cpp @@ -254,6 +254,7 @@ Settings::Settings(Page* page) , m_touchEventEmulationEnabled(false) #endif , m_threadedAnimationEnabled(false) + , m_shouldRespectImageOrientation(false) , m_loadsImagesAutomaticallyTimer(this, &Settings::loadsImagesAutomaticallyTimerFired) { // A Frame may not have been created yet, so we initialize the AtomicString -- 2.7.4