Title: [107040] trunk/Source/WebKit/chromium
- Revision
- 107040
- Author
- [email protected]
- Date
- 2012-02-07 22:33:11 -0800 (Tue, 07 Feb 2012)
Log 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):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (107039 => 107040)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-02-08 05:47:36 UTC (rev 107039)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-02-08 06:33:11 UTC (rev 107040)
@@ -1,3 +1,17 @@
+2012-02-07 MORITA Hajime <[email protected]>
+
+ [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 <[email protected]>
Plumb through webGLErrorsToConsoleEnable in WebSettings
Modified: trunk/Source/WebKit/chromium/public/WebTextCheckingResult.h (107039 => 107040)
--- trunk/Source/WebKit/chromium/public/WebTextCheckingResult.h 2012-02-08 05:47:36 UTC (rev 107039)
+++ trunk/Source/WebKit/chromium/public/WebTextCheckingResult.h 2012-02-08 06:33:11 UTC (rev 107040)
@@ -50,8 +50,17 @@
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)
, location(p)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes