Title: [197624] trunk/Source/WebCore
- Revision
- 197624
- Author
- rn...@webkit.org
- Date
- 2016-03-05 17:23:49 -0800 (Sat, 05 Mar 2016)
Log Message
Build fix after r197612 (under ASAN/GuardMalloc).
* dom/CustomElementDefinitions.cpp:
(WebCore::CustomElementDefinitions::findInterface):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (197623 => 197624)
--- trunk/Source/WebCore/ChangeLog 2016-03-06 01:20:45 UTC (rev 197623)
+++ trunk/Source/WebCore/ChangeLog 2016-03-06 01:23:49 UTC (rev 197624)
@@ -1,3 +1,10 @@
+2016-03-05 Ryosuke Niwa <rn...@webkit.org>
+
+ Build fix after r197612 (under ASAN/GuardMalloc).
+
+ * dom/CustomElementDefinitions.cpp:
+ (WebCore::CustomElementDefinitions::findInterface):
+
2016-03-05 Michael Catanzaro <mcatanz...@igalia.com>
Unreviewed, fix GTK/EFL build after r197575 and add mandatory GnuTLS dependency
Modified: trunk/Source/WebCore/dom/CustomElementDefinitions.cpp (197623 => 197624)
--- trunk/Source/WebCore/dom/CustomElementDefinitions.cpp 2016-03-06 01:20:45 UTC (rev 197623)
+++ trunk/Source/WebCore/dom/CustomElementDefinitions.cpp 2016-03-06 01:23:49 UTC (rev 197624)
@@ -92,7 +92,7 @@
JSCustomElementInterface* CustomElementDefinitions::findInterface(const JSC::JSObject* constructor) const
{
auto it = m_constructorMap.find(constructor);
- return it->value;
+ return it == m_constructorMap.end() ? nullptr : it->value;
}
bool CustomElementDefinitions::containsConstructor(const JSC::JSObject* constructor) const
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes