[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.21-584-g1e41756
bweinstein at apple.com
bweinstein at apple.com
Fri Feb 26 22:17:53 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit 7c4c4e980e78e55f8b5aca32bf904a7fdb0c3ce1
Author: bweinstein at apple.com <bweinstein at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Feb 11 20:01:38 2010 +0000
Revert accidental commit
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/WebCore.base.exp b/WebCore/WebCore.base.exp
index 96eb13d..a0a5262 100644
--- a/WebCore/WebCore.base.exp
+++ b/WebCore/WebCore.base.exp
@@ -661,7 +661,6 @@ __ZN7WebCore8Settings25setDeveloperExtrasEnabledEb
__ZN7WebCore8Settings25setMinimumLogicalFontSizeEi
__ZN7WebCore8Settings25setNeedsLeopardMailQuirksEb
__ZN7WebCore8Settings25setPrivateBrowsingEnabledEb
-__ZN7WebCore8Settings39setLocalStorageOverridesPrivateBrowsingEb
__ZN7WebCore8Settings25setShouldPrintBackgroundsEb
__ZN7WebCore8Settings25setUserStyleSheetLocationERKNS_4KURLE
__ZN7WebCore8Settings26setDefaultTextEncodingNameERKNS_6StringE
diff --git a/WebCore/inspector/InspectorController.cpp b/WebCore/inspector/InspectorController.cpp
index bf70cb9..3d0ba9e 100644
--- a/WebCore/inspector/InspectorController.cpp
+++ b/WebCore/inspector/InspectorController.cpp
@@ -1847,4 +1847,3 @@ InjectedScript InspectorController::injectedScriptForNodeId(long id)
} // namespace WebCore
#endif // ENABLE(INSPECTOR)
-
diff --git a/WebCore/loader/HistoryController.cpp b/WebCore/loader/HistoryController.cpp
index f7b719f..43c9979 100644
--- a/WebCore/loader/HistoryController.cpp
+++ b/WebCore/loader/HistoryController.cpp
@@ -295,12 +295,12 @@ void HistoryController::updateForStandardLoad()
if (!frameLoader->documentLoader()->isClientRedirect()) {
if (!historyURL.isEmpty()) {
updateBackForwardListClippedAtTarget(true);
-// if (!needPrivacy) {
+ if (!needPrivacy) {
frameLoader->client()->updateGlobalHistory();
frameLoader->documentLoader()->setDidCreateGlobalHistoryEntry(true);
if (frameLoader->documentLoader()->unreachableURL().isEmpty())
frameLoader->client()->updateGlobalHistoryRedirectLinks();
-// }
+ }
if (Page* page = m_frame->page())
page->setGlobalHistoryItem(needPrivacy ? 0 : page->backForwardList()->currentItem());
}
diff --git a/WebCore/page/Settings.cpp b/WebCore/page/Settings.cpp
index 86410bf..969969f 100644
--- a/WebCore/page/Settings.cpp
+++ b/WebCore/page/Settings.cpp
@@ -275,11 +275,6 @@ void Settings::setPrivateBrowsingEnabled(bool privateBrowsingEnabled)
m_privateBrowsingEnabled = privateBrowsingEnabled;
}
-void Settings::setLocalStorageOverridesPrivateBrowsing(bool localStorageOverrides)
-{
- m_localStorageOverridesPrivateBrowsing = localStorageOverrides;
-}
-
void Settings::setJavaScriptCanOpenWindowsAutomatically(bool javaScriptCanOpenWindowsAutomatically)
{
m_javaScriptCanOpenWindowsAutomatically = javaScriptCanOpenWindowsAutomatically;
diff --git a/WebCore/page/Settings.h b/WebCore/page/Settings.h
index 697c716..577459c 100644
--- a/WebCore/page/Settings.h
+++ b/WebCore/page/Settings.h
@@ -136,9 +136,6 @@ namespace WebCore {
void setPrivateBrowsingEnabled(bool);
bool privateBrowsingEnabled() const { return m_privateBrowsingEnabled; }
- void setLocalStorageOverridesPrivateBrowsing(bool);
- bool localStorageOverridesPrivateBrowsing() const { return m_localStorageOverridesPrivateBrowsing; }
-
void setCaretBrowsingEnabled(bool);
bool caretBrowsingEnabled() const { return m_caretBrowsingEnabled; }
@@ -315,7 +312,6 @@ namespace WebCore {
bool m_isJavaEnabled : 1;
bool m_loadsImagesAutomatically : 1;
bool m_privateBrowsingEnabled : 1;
- bool m_localStorageOverridesPrivateBrowsing : 1;
bool m_caretBrowsingEnabled : 1;
bool m_areImagesEnabled : 1;
bool m_arePluginsEnabled : 1;
diff --git a/WebCore/platform/graphics/GraphicsContext3D.h b/WebCore/platform/graphics/GraphicsContext3D.h
index 5133181..d7406c9 100644
--- a/WebCore/platform/graphics/GraphicsContext3D.h
+++ b/WebCore/platform/graphics/GraphicsContext3D.h
@@ -33,7 +33,7 @@
#include <wtf/PassOwnPtr.h>
// FIXME: Find a better way to avoid the name confliction for NO_ERROR.
-#if ((PLATFORM(CHROMIUM) && OS(WINDOWS)) || PLATFORM(WINDOWS))
+#if PLATFORM(CHROMIUM) && OS(WINDOWS)
#undef NO_ERROR
#endif
diff --git a/WebCore/storage/StorageAreaImpl.cpp b/WebCore/storage/StorageAreaImpl.cpp
index 15a2598..aa04781 100644
--- a/WebCore/storage/StorageAreaImpl.cpp
+++ b/WebCore/storage/StorageAreaImpl.cpp
@@ -100,7 +100,7 @@ static bool privateBrowsingEnabled(Frame* frame)
ASSERT(!frame);
return false;
#else
- return frame->page()->settings()->privateBrowsingEnabled() && !frame->page()->settings()->localStorageOverridesPrivateBrowsing();
+ return frame->page()->settings()->privateBrowsingEnabled();
#endif
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list