Commit a70c5e00 authored by morrita@google.com's avatar morrita@google.com

2011-02-09 MORITA Hajime <morrita@google.com>

        Reviewed by Shinichiro Hamaji.

        [Chromium] WebTextCheckingResult should have a default constructor.
        https://bugs.webkit.org/show_bug.cgi?id=54075

        Gave default parameters to WebTextCheckingResult constructor.

        * public/WebTextCheckingResult.h:
        (WebKit::WebTextCheckingResult::WebTextCheckingResult):

git-svn-id: svn://svn.chromium.org/blink/trunk@78033 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent cb599a9b
2011-02-09 MORITA Hajime <morrita@google.com>
Reviewed by Shinichiro Hamaji.
[Chromium] WebTextCheckingResult should have a default constructor.
https://bugs.webkit.org/show_bug.cgi?id=54075
Gave default parameters to WebTextCheckingResult constructor.
* public/WebTextCheckingResult.h:
(WebKit::WebTextCheckingResult::WebTextCheckingResult):
2011-02-08 Sailesh Agrawal <sail@chromium.org>
Reviewed by Kenneth Russell.
......@@ -47,7 +47,7 @@ public:
int position() const { return m_position; }
int length() const { return m_length; }
WebTextCheckingResult(Error error, int position, int length)
explicit WebTextCheckingResult(Error error = ErrorSpelling, int position = 0, int length = 0)
: m_error(error)
, m_position(position)
, m_length(length)
......
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