Changeset 107040 in webkit


Ignore:
Timestamp:
Feb 7, 2012 10:33:11 PM (12 years ago)
Author:
morrita@google.com
Message:

[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):

Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r107037 r107040  
     12012-02-07  MORITA Hajime  <morrita@google.com>
     2
     3        [Chromium] WebTextCheckingResult should have new default constructor
     4        https://bugs.webkit.org/show_bug.cgi?id=78066
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        Added a new default constructor. ex-default constructor will be removed
     9        in an upcoming change.
     10
     11        * public/WebTextCheckingResult.h:
     12        (WebKit::WebTextCheckingResult::WebTextCheckingResult):
     13        (WebTextCheckingResult):
     14
    1152012-02-07  Gregg Tavares  <gman@google.com>
    216
  • trunk/Source/WebKit/chromium/public/WebTextCheckingResult.h

    r105491 r107040  
    5151    };
    5252
    53     explicit WebTextCheckingResult(Error e = ErrorSpelling, int p = 0, int l = 0)
     53    WebTextCheckingResult()
     54        : type(WebTextCheckingTypeSpelling)
     55        , error(ErrorSpelling)
     56        , position(0)
     57        , location(0)
     58        , length(0)
     59    {
     60    }
     61
     62    explicit WebTextCheckingResult(Error e, int p = 0, int l = 0)
    5463        : type(WebTextCheckingTypeSpelling)
    5564        , error(e)
Note: See TracChangeset for help on using the changeset viewer.