Title: [101121] trunk/Source/WebKit/chromium
- Revision
- 101121
- Author
- [email protected]
- Date
- 2011-11-23 23:03:00 -0800 (Wed, 23 Nov 2011)
Log Message
[Chromium] Remove unused WebSecurityOrigin::isEmpty from WebKit API
https://bugs.webkit.org/show_bug.cgi?id=73065
Reviewed by Eric Seidel.
This API no longer has any callers.
* public/WebSecurityOrigin.h:
* src/WebSecurityOrigin.cpp:
(WebKit::WebSecurityOrigin::isUnique):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (101120 => 101121)
--- trunk/Source/WebKit/chromium/ChangeLog 2011-11-24 06:06:31 UTC (rev 101120)
+++ trunk/Source/WebKit/chromium/ChangeLog 2011-11-24 07:03:00 UTC (rev 101121)
@@ -1,3 +1,16 @@
+2011-11-23 Adam Barth <[email protected]>
+
+ [Chromium] Remove unused WebSecurityOrigin::isEmpty from WebKit API
+ https://bugs.webkit.org/show_bug.cgi?id=73065
+
+ Reviewed by Eric Seidel.
+
+ This API no longer has any callers.
+
+ * public/WebSecurityOrigin.h:
+ * src/WebSecurityOrigin.cpp:
+ (WebKit::WebSecurityOrigin::isUnique):
+
2011-11-23 Dmitry Lomov <[email protected]>
https://bugs.webkit.org/show_bug.cgi?id=73054
Modified: trunk/Source/WebKit/chromium/public/WebSecurityOrigin.h (101120 => 101121)
--- trunk/Source/WebKit/chromium/public/WebSecurityOrigin.h 2011-11-24 06:06:31 UTC (rev 101120)
+++ trunk/Source/WebKit/chromium/public/WebSecurityOrigin.h 2011-11-24 07:03:00 UTC (rev 101121)
@@ -70,11 +70,8 @@
WEBKIT_EXPORT unsigned short port() const;
// A unique WebSecurityOrigin is the least privileged WebSecurityOrigin.
- bool isUnique() const { return isEmpty(); }
+ WEBKIT_EXPORT bool isUnique() const;
- // FIXME: Remove this function once there are no more callers.
- WEBKIT_EXPORT bool isEmpty() const;
-
// Returns true if this WebSecurityOrigin can script objects in the given
// SecurityOrigin. For example, call this function before allowing
// script from one security origin to read or write objects from
Modified: trunk/Source/WebKit/chromium/src/WebSecurityOrigin.cpp (101120 => 101121)
--- trunk/Source/WebKit/chromium/src/WebSecurityOrigin.cpp 2011-11-24 06:06:31 UTC (rev 101120)
+++ trunk/Source/WebKit/chromium/src/WebSecurityOrigin.cpp 2011-11-24 07:03:00 UTC (rev 101121)
@@ -90,8 +90,7 @@
return m_private->port();
}
-// FIXME: Rename this API to isUnique.
-bool WebSecurityOrigin::isEmpty() const
+bool WebSecurityOrigin::isUnique() const
{
ASSERT(m_private);
return m_private->isUnique();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes