Commit 70e4b70d authored by morrita@google.com's avatar 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):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 6423d9fe
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
......@@ -50,7 +50,16 @@ struct WebTextCheckingResult {
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment