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

Unified Diff: content/renderer/android/content_detector.h

Issue 10911189: Fix the warnings when build content/ with clang (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | content/renderer/android/content_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/android/content_detector.h
diff --git a/content/renderer/android/content_detector.h b/content/renderer/android/content_detector.h
index 3fd08ddb421796728e91b9383a7fe8fd88fd01b3..6695cf8b5120dcbf1ebf72eeea825431ba4a232d 100644
--- a/content/renderer/android/content_detector.h
+++ b/content/renderer/android/content_detector.h
@@ -19,14 +19,11 @@ class ContentDetector {
public:
// Holds the content detection results.
struct Result {
- Result() : valid(false) {}
+ Result();
Result(const WebKit::WebRange& content_boundaries,
const std::string& text,
- const GURL& intent_url)
- : valid(true),
- content_boundaries(content_boundaries),
- text(text),
- intent_url(intent_url) {}
+ const GURL& intent_url);
+ ~Result();
bool valid;
WebKit::WebRange content_boundaries;
« no previous file with comments | « no previous file | content/renderer/android/content_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698