https://bugs.webkit.org/show_bug.cgi?id=78066
Reviewed by Ryosuke Niwa.
Added a new default constructor. ex-default constructor will be removed
in an upcoming change.
* public/WebTextCheckingResult.h:
(WebKit::WebTextCheckingResult::WebTextCheckingResult):
(WebTextCheckingResult):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107040
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-07 MORITA Hajime <morrita@google.com>
+
+ [Chromium] WebTextCheckingResult should have new default constructor
+ https://bugs.webkit.org/show_bug.cgi?id=78066
+
+ Reviewed by Ryosuke Niwa.
+
+ Added a new default constructor. ex-default constructor will be removed
+ in an upcoming change.
+
+ * public/WebTextCheckingResult.h:
+ (WebKit::WebTextCheckingResult::WebTextCheckingResult):
+ (WebTextCheckingResult):
+
2012-02-07 Gregg Tavares <gman@google.com>
Plumb through webGLErrorsToConsoleEnable in WebSettings
ErrorGrammar = 1 << 1
};
- explicit WebTextCheckingResult(Error e = ErrorSpelling, int p = 0, int l = 0)
+ WebTextCheckingResult()
+ : type(WebTextCheckingTypeSpelling)
+ , error(ErrorSpelling)
+ , position(0)
+ , location(0)
+ , length(0)
+ {
+ }
+
+ explicit WebTextCheckingResult(Error e, int p = 0, int l = 0)
: type(WebTextCheckingTypeSpelling)
, error(e)
, position(p)