Title: [136933] trunk/Source/WebCore
- Revision
- 136933
- Author
- [email protected]
- Date
- 2012-12-07 00:46:25 -0800 (Fri, 07 Dec 2012)
Log Message
Build fix.
* plugins/PlugInOriginHash.cpp:
(WebCore::PlugInOriginHash::hash):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (136932 => 136933)
--- trunk/Source/WebCore/ChangeLog 2012-12-07 08:43:32 UTC (rev 136932)
+++ trunk/Source/WebCore/ChangeLog 2012-12-07 08:46:25 UTC (rev 136933)
@@ -1,3 +1,10 @@
+2012-12-07 Jon Lee <[email protected]>
+
+ Build fix.
+
+ * plugins/PlugInOriginHash.cpp:
+ (WebCore::PlugInOriginHash::hash):
+
2012-12-04 Jon Lee <[email protected]>
Add PlugInOriginHash
Modified: trunk/Source/WebCore/plugins/PlugInOriginHash.cpp (136932 => 136933)
--- trunk/Source/WebCore/plugins/PlugInOriginHash.cpp 2012-12-07 08:43:32 UTC (rev 136932)
+++ trunk/Source/WebCore/plugins/PlugInOriginHash.cpp 2012-12-07 08:46:25 UTC (rev 136933)
@@ -45,7 +45,7 @@
unsigned PlugInOriginHash::hash(HTMLPlugInImageElement* plugInElement, const KURL& plugInURL)
{
- ASSERT(document()->page());
+ ASSERT(plugInElement->document()->page());
// We want to avoid concatenating the strings and then taking the hash, since that could lead to an expensive conversion.
// We also want to avoid using the hash() function in StringImpl or CaseFoldingHash because that masks out bits for the use of flags.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes