Title: [87266] trunk/Source/WebCore
- Revision
- 87266
- Author
- [email protected]
- Date
- 2011-05-24 21:20:02 -0700 (Tue, 24 May 2011)
Log Message
Unreviewed. Fix clang error.
error: initialization of pointer of type 'WebCore::MHTMLArchive *' to
NULL from a constant boolean _expression_ [-Werror,-Wbool-conversio
* loader/archive/mhtml/MHTMLArchive.cpp:
(WebCore::MHTMLArchive::create):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (87265 => 87266)
--- trunk/Source/WebCore/ChangeLog 2011-05-25 04:17:03 UTC (rev 87265)
+++ trunk/Source/WebCore/ChangeLog 2011-05-25 04:20:02 UTC (rev 87266)
@@ -1,3 +1,13 @@
+2011-05-24 Fumitoshi Ukai <[email protected]>
+
+ Unreviewed. Fix clang error.
+
+ error: initialization of pointer of type 'WebCore::MHTMLArchive *' to
+ NULL from a constant boolean _expression_ [-Werror,-Wbool-conversio
+
+ * loader/archive/mhtml/MHTMLArchive.cpp:
+ (WebCore::MHTMLArchive::create):
+
2011-05-24 Adam Barth <[email protected]>
Reviewed by Eric Seidel.
Modified: trunk/Source/WebCore/loader/archive/mhtml/MHTMLArchive.cpp (87265 => 87266)
--- trunk/Source/WebCore/loader/archive/mhtml/MHTMLArchive.cpp 2011-05-25 04:17:03 UTC (rev 87265)
+++ trunk/Source/WebCore/loader/archive/mhtml/MHTMLArchive.cpp 2011-05-25 04:20:02 UTC (rev 87266)
@@ -51,7 +51,7 @@
{
// For security reasons we only load MHTML pages from the local file system.
if (!url.isLocalFile())
- return false;
+ return 0;
MHTMLParser parser(data);
RefPtr<MHTMLArchive> mainArchive = parser.parseArchive();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes