Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: Source/platform/exported/WebHTTPLoadInfo.cpp

Issue 141273002: Code problems detected by cppcheck (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a few more fixes Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/exported/WebHTTPLoadInfo.cpp
diff --git a/Source/platform/exported/WebHTTPLoadInfo.cpp b/Source/platform/exported/WebHTTPLoadInfo.cpp
index df6eeaefb17d550d4d147ffc6953a0e43c96ae4c..ce717fb9cfcd0c560ee9388f05a34830ab87f6a6 100644
--- a/Source/platform/exported/WebHTTPLoadInfo.cpp
+++ b/Source/platform/exported/WebHTTPLoadInfo.cpp
@@ -54,9 +54,8 @@ void WebHTTPLoadInfo::assign(const WebHTTPLoadInfo& r)
m_private = r.m_private;
}
-WebHTTPLoadInfo::WebHTTPLoadInfo(WTF::PassRefPtr<WebCore::ResourceLoadInfo> value)
+WebHTTPLoadInfo::WebHTTPLoadInfo(WTF::PassRefPtr<WebCore::ResourceLoadInfo> value) : m_private(value)
abarth-chromium 2014/01/17 06:59:08 The initializer should be on its own line.
{
- m_private = value;
}
WebHTTPLoadInfo::operator WTF::PassRefPtr<WebCore::ResourceLoadInfo>() const

Powered by Google App Engine
This is Rietveld 408576698