<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[160395] trunk/Source/WebKit2</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/160395">160395</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2013-12-10 16:19:07 -0800 (Tue, 10 Dec 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>Move number and geometry classes into the API namespace
https://bugs.webkit.org/show_bug.cgi?id=125549
Reviewed by Geoffrey Garen.
* Shared/API/Cocoa/WKRemoteObjectCoder.mm:
(-[WKRemoteObjectEncoder encodeBool:forKey:]):
(-[WKRemoteObjectEncoder encodeInt64:forKey:]):
(-[WKRemoteObjectEncoder encodeDouble:forKey:]):
(-[WKRemoteObjectDecoder decodeBoolForKey:]):
(-[WKRemoteObjectDecoder decodeInt64ForKey:]):
(-[WKRemoteObjectDecoder decodeDoubleForKey:]):
* Shared/API/c/WKGeometry.cpp:
(WKSizeGetTypeID):
(WKPointGetTypeID):
(WKRectGetTypeID):
(WKPointCreate):
(WKSizeCreate):
(WKRectCreate):
* Shared/API/c/WKNumber.cpp:
(WKBooleanGetTypeID):
(WKBooleanCreate):
(WKDoubleGetTypeID):
(WKDoubleCreate):
(WKUInt64GetTypeID):
(WKUInt64Create):
* Shared/API/c/WKSharedAPICast.h:
* Shared/APIGeometry.cpp:
(API::Point::encode):
(API::Point::decode):
(API::Size::encode):
(API::Size::decode):
(API::Rect::encode):
(API::Rect::decode):
* Shared/APIGeometry.h:
(API::Size::create):
(API::Size::Size):
(API::Point::create):
(API::Point::Point):
(API::Rect::create):
(API::Rect::Rect):
* Shared/APINumber.h:
(API::Number::create):
(API::Number::decode):
(API::Number::Number):
* Shared/APIObject.h:
* Shared/Plugins/Netscape/PluginInformation.cpp:
(WebKit::getPluginModuleInformation):
(WebKit::createPluginInformationDictionary):
* Shared/Plugins/Netscape/mac/PluginInformationMac.mm:
(WebKit::getPlatformPluginModuleInformation):
* Shared/UserData.cpp:
(WebKit::UserData::encode):
(WebKit::UserData::decode):
* Shared/UserMessageCoders.h:
(WebKit::UserMessageEncoder::baseEncode):
(WebKit::UserMessageDecoder::baseDecode):
* UIProcess/Notifications/WebNotificationManagerProxy.cpp:
(WebKit::WebNotificationManagerProxy::populateCopyOfNotificationPermissions):
(WebKit::WebNotificationManagerProxy::providerDidCloseNotifications):
* UIProcess/Notifications/WebNotificationProvider.cpp:
(WebKit::WebNotificationProvider::clearNotifications):
* UIProcess/Plugins/PlugInAutoStartProvider.cpp:
(WebKit::PlugInAutoStartProvider::autoStartOriginsTableCopy):
(WebKit::PlugInAutoStartProvider::setAutoStartOriginsTable):
* UIProcess/StatisticsRequest.cpp:
(WebKit::addToDictionaryFromHashMap):
* UIProcess/WebDatabaseManagerProxy.cpp:
(WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didFindStringMatches):
* UIProcess/WebUIClient.cpp:
(WebKit::WebUIClient::createNewPage):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::trackedRepaintRects):
* WebProcess/WebPage/mac/WKAccessibilityWebPageObject.mm:
(-[WKAccessibilityWebPageObject accessibilityAttributeValue:forParameter:]):</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2SharedAPICocoaWKRemoteObjectCodermm">trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectCoder.mm</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIcWKGeometrycpp">trunk/Source/WebKit2/Shared/API/c/WKGeometry.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIcWKNumbercpp">trunk/Source/WebKit2/Shared/API/c/WKNumber.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIcWKSharedAPICasth">trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIGeometrycpp">trunk/Source/WebKit2/Shared/APIGeometry.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIGeometryh">trunk/Source/WebKit2/Shared/APIGeometry.h</a></li>
<li><a href="#trunkSourceWebKit2SharedAPINumberh">trunk/Source/WebKit2/Shared/APINumber.h</a></li>
<li><a href="#trunkSourceWebKit2SharedAPIObjecth">trunk/Source/WebKit2/Shared/APIObject.h</a></li>
<li><a href="#trunkSourceWebKit2SharedPluginsNetscapePluginInformationcpp">trunk/Source/WebKit2/Shared/Plugins/Netscape/PluginInformation.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedPluginsNetscapemacPluginInformationMacmm">trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/PluginInformationMac.mm</a></li>
<li><a href="#trunkSourceWebKit2SharedUserDatacpp">trunk/Source/WebKit2/Shared/UserData.cpp</a></li>
<li><a href="#trunkSourceWebKit2SharedUserMessageCodersh">trunk/Source/WebKit2/Shared/UserMessageCoders.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessNotificationsWebNotificationManagerProxycpp">trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationManagerProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessNotificationsWebNotificationProvidercpp">trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationProvider.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessPluginsPlugInAutoStartProvidercpp">trunk/Source/WebKit2/UIProcess/Plugins/PlugInAutoStartProvider.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessStatisticsRequestcpp">trunk/Source/WebKit2/UIProcess/StatisticsRequest.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebDatabaseManagerProxycpp">trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebPageProxycpp">trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp</a></li>
<li><a href="#trunkSourceWebKit2UIProcessWebUIClientcpp">trunk/Source/WebKit2/UIProcess/WebUIClient.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPagecpp">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPagemacWKAccessibilityWebPageObjectmm">trunk/Source/WebKit2/WebProcess/WebPage/mac/WKAccessibilityWebPageObject.mm</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/ChangeLog        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -1,5 +1,85 @@
</span><span class="cx"> 2013-12-10 Anders Carlsson <andersca@apple.com>
</span><span class="cx">
</span><ins>+ Move number and geometry classes into the API namespace
+ https://bugs.webkit.org/show_bug.cgi?id=125549
+
+ Reviewed by Geoffrey Garen.
+
+ * Shared/API/Cocoa/WKRemoteObjectCoder.mm:
+ (-[WKRemoteObjectEncoder encodeBool:forKey:]):
+ (-[WKRemoteObjectEncoder encodeInt64:forKey:]):
+ (-[WKRemoteObjectEncoder encodeDouble:forKey:]):
+ (-[WKRemoteObjectDecoder decodeBoolForKey:]):
+ (-[WKRemoteObjectDecoder decodeInt64ForKey:]):
+ (-[WKRemoteObjectDecoder decodeDoubleForKey:]):
+ * Shared/API/c/WKGeometry.cpp:
+ (WKSizeGetTypeID):
+ (WKPointGetTypeID):
+ (WKRectGetTypeID):
+ (WKPointCreate):
+ (WKSizeCreate):
+ (WKRectCreate):
+ * Shared/API/c/WKNumber.cpp:
+ (WKBooleanGetTypeID):
+ (WKBooleanCreate):
+ (WKDoubleGetTypeID):
+ (WKDoubleCreate):
+ (WKUInt64GetTypeID):
+ (WKUInt64Create):
+ * Shared/API/c/WKSharedAPICast.h:
+ * Shared/APIGeometry.cpp:
+ (API::Point::encode):
+ (API::Point::decode):
+ (API::Size::encode):
+ (API::Size::decode):
+ (API::Rect::encode):
+ (API::Rect::decode):
+ * Shared/APIGeometry.h:
+ (API::Size::create):
+ (API::Size::Size):
+ (API::Point::create):
+ (API::Point::Point):
+ (API::Rect::create):
+ (API::Rect::Rect):
+ * Shared/APINumber.h:
+ (API::Number::create):
+ (API::Number::decode):
+ (API::Number::Number):
+ * Shared/APIObject.h:
+ * Shared/Plugins/Netscape/PluginInformation.cpp:
+ (WebKit::getPluginModuleInformation):
+ (WebKit::createPluginInformationDictionary):
+ * Shared/Plugins/Netscape/mac/PluginInformationMac.mm:
+ (WebKit::getPlatformPluginModuleInformation):
+ * Shared/UserData.cpp:
+ (WebKit::UserData::encode):
+ (WebKit::UserData::decode):
+ * Shared/UserMessageCoders.h:
+ (WebKit::UserMessageEncoder::baseEncode):
+ (WebKit::UserMessageDecoder::baseDecode):
+ * UIProcess/Notifications/WebNotificationManagerProxy.cpp:
+ (WebKit::WebNotificationManagerProxy::populateCopyOfNotificationPermissions):
+ (WebKit::WebNotificationManagerProxy::providerDidCloseNotifications):
+ * UIProcess/Notifications/WebNotificationProvider.cpp:
+ (WebKit::WebNotificationProvider::clearNotifications):
+ * UIProcess/Plugins/PlugInAutoStartProvider.cpp:
+ (WebKit::PlugInAutoStartProvider::autoStartOriginsTableCopy):
+ (WebKit::PlugInAutoStartProvider::setAutoStartOriginsTable):
+ * UIProcess/StatisticsRequest.cpp:
+ (WebKit::addToDictionaryFromHashMap):
+ * UIProcess/WebDatabaseManagerProxy.cpp:
+ (WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin):
+ * UIProcess/WebPageProxy.cpp:
+ (WebKit::WebPageProxy::didFindStringMatches):
+ * UIProcess/WebUIClient.cpp:
+ (WebKit::WebUIClient::createNewPage):
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::trackedRepaintRects):
+ * WebProcess/WebPage/mac/WKAccessibilityWebPageObject.mm:
+ (-[WKAccessibilityWebPageObject accessibilityAttributeValue:forParameter:]):
+
+2013-12-10 Anders Carlsson <andersca@apple.com>
+
</ins><span class="cx"> Add encode and decode functions to WebNumber
</span><span class="cx"> https://bugs.webkit.org/show_bug.cgi?id=125547
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPICocoaWKRemoteObjectCodermm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectCoder.mm (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectCoder.mm        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectCoder.mm        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -242,17 +242,17 @@
</span><span class="cx">
</span><span class="cx"> - (void)encodeBool:(BOOL)value forKey:(NSString *)key
</span><span class="cx"> {
</span><del>- _currentDictionary->set(escapeKey(key), WebBoolean::create(value));
</del><ins>+ _currentDictionary->set(escapeKey(key), API::Boolean::create(value));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> - (void)encodeInt64:(int64_t)value forKey:(NSString *)key
</span><span class="cx"> {
</span><del>- _currentDictionary->set(escapeKey(key), WebUInt64::create(value));
</del><ins>+ _currentDictionary->set(escapeKey(key), API::UInt64::create(value));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> - (void)encodeDouble:(double)value forKey:(NSString *)key
</span><span class="cx"> {
</span><del>- _currentDictionary->set(escapeKey(key), WebDouble::create(value));
</del><ins>+ _currentDictionary->set(escapeKey(key), API::Double::create(value));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> - (BOOL)requiresSecureCoding
</span><span class="lines">@@ -481,7 +481,7 @@
</span><span class="cx">
</span><span class="cx"> - (BOOL)decodeBoolForKey:(NSString *)key
</span><span class="cx"> {
</span><del>- const WebBoolean* value = _currentDictionary->get<WebBoolean>(escapeKey(key));
</del><ins>+ const API::Boolean* value = _currentDictionary->get<API::Boolean>(escapeKey(key));
</ins><span class="cx"> if (!value)
</span><span class="cx"> return false;
</span><span class="cx"> return value->value();
</span><span class="lines">@@ -489,7 +489,7 @@
</span><span class="cx">
</span><span class="cx"> - (int64_t)decodeInt64ForKey:(NSString *)key
</span><span class="cx"> {
</span><del>- const WebUInt64* value = _currentDictionary->get<WebUInt64>(escapeKey(key));
</del><ins>+ const API::UInt64* value = _currentDictionary->get<API::UInt64>(escapeKey(key));
</ins><span class="cx"> if (!value)
</span><span class="cx"> return 0;
</span><span class="cx"> return value->value();
</span><span class="lines">@@ -497,7 +497,7 @@
</span><span class="cx">
</span><span class="cx"> - (double)decodeDoubleForKey:(NSString *)key
</span><span class="cx"> {
</span><del>- const WebDouble* value = _currentDictionary->get<WebDouble>(escapeKey(key));
</del><ins>+ const API::Double* value = _currentDictionary->get<API::Double>(escapeKey(key));
</ins><span class="cx"> if (!value)
</span><span class="cx"> return 0;
</span><span class="cx"> return value->value();
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIcWKGeometrycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/c/WKGeometry.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/c/WKGeometry.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/Shared/API/c/WKGeometry.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -33,35 +33,32 @@
</span><span class="cx">
</span><span class="cx"> WKTypeID WKSizeGetTypeID()
</span><span class="cx"> {
</span><del>- return toAPI(WebSize::APIType);
</del><ins>+ return toAPI(API::Size::APIType);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WKTypeID WKPointGetTypeID()
</span><span class="cx"> {
</span><del>- return toAPI(WebPoint::APIType);
</del><ins>+ return toAPI(API::Point::APIType);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WKTypeID WKRectGetTypeID()
</span><span class="cx"> {
</span><del>- return toAPI(WebRect::APIType);
</del><ins>+ return toAPI(API::Rect::APIType);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WKPointRef WKPointCreate(WKPoint point)
</span><span class="cx"> {
</span><del>- RefPtr<WebPoint> webPoint = WebPoint::create(point);
- return toAPI(webPoint.release().leakRef());
</del><ins>+ return toAPI(API::Point::create(point).leakRef());
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WKSizeRef WKSizeCreate(WKSize size)
</span><span class="cx"> {
</span><del>- RefPtr<WebSize> webSize = WebSize::create(size);
- return toAPI(webSize.release().leakRef());
</del><ins>+ return toAPI(API::Size::create(size).leakRef());
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WKRectRef WKRectCreate(WKRect rect)
</span><span class="cx"> {
</span><del>- RefPtr<WebRect> webRect = WebRect::create(rect);
- return toAPI(webRect.release().leakRef());
</del><ins>+ return toAPI(API::Rect::create(rect).leakRef());
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WKSize WKSizeGetValue(WKSizeRef size)
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIcWKNumbercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/c/WKNumber.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/c/WKNumber.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/Shared/API/c/WKNumber.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -33,12 +33,12 @@
</span><span class="cx">
</span><span class="cx"> WKTypeID WKBooleanGetTypeID()
</span><span class="cx"> {
</span><del>- return toAPI(WebBoolean::APIType);
</del><ins>+ return toAPI(API::Boolean::APIType);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WKBooleanRef WKBooleanCreate(bool value)
</span><span class="cx"> {
</span><del>- RefPtr<WebBoolean> booleanObject = WebBoolean::create(value);
</del><ins>+ RefPtr<API::Boolean> booleanObject = API::Boolean::create(value);
</ins><span class="cx"> return toAPI(booleanObject.release().leakRef());
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -49,12 +49,12 @@
</span><span class="cx">
</span><span class="cx"> WKTypeID WKDoubleGetTypeID()
</span><span class="cx"> {
</span><del>- return toAPI(WebDouble::APIType);
</del><ins>+ return toAPI(API::Double::APIType);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WKDoubleRef WKDoubleCreate(double value)
</span><span class="cx"> {
</span><del>- RefPtr<WebDouble> doubleObject = WebDouble::create(value);
</del><ins>+ RefPtr<API::Double> doubleObject = API::Double::create(value);
</ins><span class="cx"> return toAPI(doubleObject.release().leakRef());
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -65,12 +65,12 @@
</span><span class="cx">
</span><span class="cx"> WKTypeID WKUInt64GetTypeID()
</span><span class="cx"> {
</span><del>- return toAPI(WebUInt64::APIType);
</del><ins>+ return toAPI(API::UInt64::APIType);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> WKUInt64Ref WKUInt64Create(uint64_t value)
</span><span class="cx"> {
</span><del>- RefPtr<WebUInt64> uint64Object = WebUInt64::create(value);
</del><ins>+ RefPtr<API::UInt64> uint64Object = API::UInt64::create(value);
</ins><span class="cx"> return toAPI(uint64Object.release().leakRef());
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIcWKSharedAPICasth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/Shared/API/c/WKSharedAPICast.h        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -60,6 +60,9 @@
</span><span class="cx">
</span><span class="cx"> namespace API {
</span><span class="cx"> class Array;
</span><ins>+class Point;
+class Rect;
+class Size;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> namespace WebKit {
</span><span class="lines">@@ -75,11 +78,8 @@
</span><span class="cx"> class WebData;
</span><span class="cx"> class WebGraphicsContext;
</span><span class="cx"> class WebImage;
</span><del>-class WebPoint;
-class WebRect;
</del><span class="cx"> class WebSecurityOrigin;
</span><span class="cx"> class WebSerializedScriptValue;
</span><del>-class WebSize;
</del><span class="cx"> class WebURLRequest;
</span><span class="cx"> class WebURLResponse;
</span><span class="cx"> class WebUserContentURLPattern;
</span><span class="lines">@@ -92,25 +92,25 @@
</span><span class="cx"> template<> struct ImplTypeInfo<TheImplType*> { typedef TheAPIType APIType; };
</span><span class="cx">
</span><span class="cx"> WK_ADD_API_MAPPING(WKArrayRef, API::Array)
</span><del>-WK_ADD_API_MAPPING(WKBooleanRef, WebBoolean)
</del><ins>+WK_ADD_API_MAPPING(WKBooleanRef, API::Boolean)
</ins><span class="cx"> WK_ADD_API_MAPPING(WKCertificateInfoRef, WebCertificateInfo)
</span><span class="cx"> WK_ADD_API_MAPPING(WKConnectionRef, WebConnection)
</span><span class="cx"> WK_ADD_API_MAPPING(WKContextMenuItemRef, WebContextMenuItem)
</span><span class="cx"> WK_ADD_API_MAPPING(WKDataRef, WebData)
</span><span class="cx"> WK_ADD_API_MAPPING(WKDictionaryRef, ImmutableDictionary)
</span><del>-WK_ADD_API_MAPPING(WKDoubleRef, WebDouble)
</del><ins>+WK_ADD_API_MAPPING(WKDoubleRef, API::Double)
</ins><span class="cx"> WK_ADD_API_MAPPING(WKErrorRef, WebError)
</span><span class="cx"> WK_ADD_API_MAPPING(WKGraphicsContextRef, WebGraphicsContext)
</span><span class="cx"> WK_ADD_API_MAPPING(WKImageRef, WebImage)
</span><span class="cx"> WK_ADD_API_MAPPING(WKMutableDictionaryRef, MutableDictionary)
</span><del>-WK_ADD_API_MAPPING(WKPointRef, WebPoint)
-WK_ADD_API_MAPPING(WKRectRef, WebRect)
</del><ins>+WK_ADD_API_MAPPING(WKPointRef, API::Point)
+WK_ADD_API_MAPPING(WKRectRef, API::Rect)
</ins><span class="cx"> WK_ADD_API_MAPPING(WKSecurityOriginRef, WebSecurityOrigin)
</span><span class="cx"> WK_ADD_API_MAPPING(WKSerializedScriptValueRef, WebSerializedScriptValue)
</span><del>-WK_ADD_API_MAPPING(WKSizeRef, WebSize)
</del><ins>+WK_ADD_API_MAPPING(WKSizeRef, API::Size)
</ins><span class="cx"> WK_ADD_API_MAPPING(WKStringRef, WebString)
</span><span class="cx"> WK_ADD_API_MAPPING(WKTypeRef, API::Object)
</span><del>-WK_ADD_API_MAPPING(WKUInt64Ref, WebUInt64)
</del><ins>+WK_ADD_API_MAPPING(WKUInt64Ref, API::UInt64)
</ins><span class="cx"> WK_ADD_API_MAPPING(WKURLRef, WebURL)
</span><span class="cx"> WK_ADD_API_MAPPING(WKURLRequestRef, WebURLRequest)
</span><span class="cx"> WK_ADD_API_MAPPING(WKURLResponseRef, WebURLResponse)
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIGeometrycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/APIGeometry.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/APIGeometry.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/Shared/APIGeometry.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -29,15 +29,15 @@
</span><span class="cx"> #include "ArgumentDecoder.h"
</span><span class="cx"> #include "ArgumentEncoder.h"
</span><span class="cx">
</span><del>-namespace WebKit {
</del><ins>+namespace API {
</ins><span class="cx">
</span><del>-void WebPoint::encode(CoreIPC::ArgumentEncoder& encoder) const
</del><ins>+void Point::encode(CoreIPC::ArgumentEncoder& encoder) const
</ins><span class="cx"> {
</span><span class="cx"> encoder << m_point.x;
</span><span class="cx"> encoder << m_point.y;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-bool WebPoint::decode(CoreIPC::ArgumentDecoder& decoder, RefPtr<API::Object>& result)
</del><ins>+bool Point::decode(CoreIPC::ArgumentDecoder& decoder, RefPtr<API::Object>& result)
</ins><span class="cx"> {
</span><span class="cx"> WKPoint point;
</span><span class="cx"> if (!decoder.decode(point.x))
</span><span class="lines">@@ -45,18 +45,18 @@
</span><span class="cx"> if (!decoder.decode(point.y))
</span><span class="cx"> return false;
</span><span class="cx">
</span><del>- result = WebPoint::create(point);
</del><ins>+ result = Point::create(point);
</ins><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><del>-void WebSize::encode(CoreIPC::ArgumentEncoder& encoder) const
</del><ins>+void Size::encode(CoreIPC::ArgumentEncoder& encoder) const
</ins><span class="cx"> {
</span><span class="cx"> encoder << m_size.width;
</span><span class="cx"> encoder << m_size.height;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-bool WebSize::decode(CoreIPC::ArgumentDecoder& decoder, RefPtr<API::Object>& result)
</del><ins>+bool Size::decode(CoreIPC::ArgumentDecoder& decoder, RefPtr<API::Object>& result)
</ins><span class="cx"> {
</span><span class="cx"> WKSize size;
</span><span class="cx"> if (!decoder.decode(size.width))
</span><span class="lines">@@ -64,12 +64,12 @@
</span><span class="cx"> if (!decoder.decode(size.height))
</span><span class="cx"> return false;
</span><span class="cx">
</span><del>- result = WebSize::create(size);
</del><ins>+ result = Size::create(size);
</ins><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><del>-void WebRect::encode(CoreIPC::ArgumentEncoder& encoder) const
</del><ins>+void Rect::encode(CoreIPC::ArgumentEncoder& encoder) const
</ins><span class="cx"> {
</span><span class="cx"> encoder << m_rect.origin.x;
</span><span class="cx"> encoder << m_rect.origin.y;
</span><span class="lines">@@ -77,7 +77,7 @@
</span><span class="cx"> encoder << m_rect.size.height;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-bool WebRect::decode(CoreIPC::ArgumentDecoder& decoder, RefPtr<API::Object>& result)
</del><ins>+bool Rect::decode(CoreIPC::ArgumentDecoder& decoder, RefPtr<API::Object>& result)
</ins><span class="cx"> {
</span><span class="cx"> WKRect rect;
</span><span class="cx"> if (!decoder.decode(rect.origin.x))
</span><span class="lines">@@ -89,9 +89,8 @@
</span><span class="cx"> if (!decoder.decode(rect.size.height))
</span><span class="cx"> return false;
</span><span class="cx">
</span><del>- result = WebRect::create(rect);
</del><ins>+ result = Rect::create(rect);
</ins><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-} // namespace WebKit
-
</del><ins>+} // namespace API
</ins></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIGeometryh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/APIGeometry.h (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/APIGeometry.h        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/Shared/APIGeometry.h        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -36,13 +36,13 @@
</span><span class="cx"> class ArgumentEncoder;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-namespace WebKit {
</del><ins>+namespace API {
</ins><span class="cx">
</span><del>-class WebSize : public API::ObjectImpl<API::Object::Type::Size> {
</del><ins>+class Size : public API::ObjectImpl<API::Object::Type::Size> {
</ins><span class="cx"> public:
</span><del>- static PassRefPtr<WebSize> create(const WKSize& size)
</del><ins>+ static PassRefPtr<Size> create(const WKSize& size)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebSize(size));
</del><ins>+ return adoptRef(new Size(size));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const WKSize& size() const { return m_size; }
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx"> static bool decode(CoreIPC::ArgumentDecoder&, RefPtr<API::Object>&);
</span><span class="cx">
</span><span class="cx"> private:
</span><del>- explicit WebSize(const WKSize& size)
</del><ins>+ explicit Size(const WKSize& size)
</ins><span class="cx"> : m_size(size)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="lines">@@ -59,11 +59,11 @@
</span><span class="cx"> WKSize m_size;
</span><span class="cx"> };
</span><span class="cx">
</span><del>-class WebPoint : public API::ObjectImpl<API::Object::Type::Point> {
</del><ins>+class Point : public API::ObjectImpl<API::Object::Type::Point> {
</ins><span class="cx"> public:
</span><del>- static PassRefPtr<WebPoint> create(const WKPoint& point)
</del><ins>+ static PassRefPtr<Point> create(const WKPoint& point)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebPoint(point));
</del><ins>+ return adoptRef(new Point(point));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const WKPoint& point() const { return m_point; }
</span><span class="lines">@@ -72,18 +72,18 @@
</span><span class="cx"> static bool decode(CoreIPC::ArgumentDecoder&, RefPtr<API::Object>&);
</span><span class="cx">
</span><span class="cx"> private:
</span><del>- explicit WebPoint(const WKPoint& point)
</del><ins>+ explicit Point(const WKPoint& point)
</ins><span class="cx"> : m_point(point)
</span><span class="cx"> { }
</span><span class="cx">
</span><span class="cx"> WKPoint m_point;
</span><span class="cx"> };
</span><span class="cx">
</span><del>-class WebRect : public API::ObjectImpl<API::Object::Type::Rect> {
</del><ins>+class Rect : public API::ObjectImpl<API::Object::Type::Rect> {
</ins><span class="cx"> public:
</span><del>- static PassRefPtr<WebRect> create(const WKRect& rect)
</del><ins>+ static PassRefPtr<Rect> create(const WKRect& rect)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebRect(rect));
</del><ins>+ return adoptRef(new Rect(rect));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const WKRect& rect() const { return m_rect; }
</span><span class="lines">@@ -92,7 +92,7 @@
</span><span class="cx"> static bool decode(CoreIPC::ArgumentDecoder&, RefPtr<API::Object>&);
</span><span class="cx">
</span><span class="cx"> private:
</span><del>- explicit WebRect(const WKRect& rect)
</del><ins>+ explicit Rect(const WKRect& rect)
</ins><span class="cx"> : m_rect(rect)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="lines">@@ -100,6 +100,6 @@
</span><span class="cx"> WKRect m_rect;
</span><span class="cx"> };
</span><span class="cx">
</span><del>-} // namespace WebKit
</del><ins>+} // namespace API
</ins><span class="cx">
</span><span class="cx"> #endif // APIGeometry_h
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPINumberh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/APINumber.h (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/APINumber.h        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/Shared/APINumber.h        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -31,14 +31,14 @@
</span><span class="cx"> #include "ArgumentEncoder.h"
</span><span class="cx"> #include <wtf/PassRefPtr.h>
</span><span class="cx">
</span><del>-namespace WebKit {
</del><ins>+namespace API {
</ins><span class="cx">
</span><span class="cx"> template<typename NumberType, API::Object::Type APIObjectType>
</span><del>-class WebNumber : public API::ObjectImpl<APIObjectType> {
</del><ins>+class Number : public ObjectImpl<APIObjectType> {
</ins><span class="cx"> public:
</span><del>- static PassRefPtr<WebNumber> create(NumberType value)
</del><ins>+ static PassRefPtr<Number> create(NumberType value)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebNumber(value));
</del><ins>+ return adoptRef(new Number(value));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> NumberType value() const { return m_value; }
</span><span class="lines">@@ -48,18 +48,18 @@
</span><span class="cx"> encoder << m_value;
</span><span class="cx"> }
</span><span class="cx">
</span><del>- static bool decode(CoreIPC::ArgumentDecoder& decoder, RefPtr<API::Object>& result)
</del><ins>+ static bool decode(CoreIPC::ArgumentDecoder& decoder, RefPtr<Object>& result)
</ins><span class="cx"> {
</span><span class="cx"> NumberType value;
</span><span class="cx"> if (!decoder.decode(value))
</span><span class="cx"> return false;
</span><span class="cx">
</span><del>- result = WebNumber::create(value);
</del><ins>+ result = Number::create(value);
</ins><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> private:
</span><del>- explicit WebNumber(NumberType value)
</del><ins>+ explicit Number(NumberType value)
</ins><span class="cx"> : m_value(value)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="lines">@@ -67,10 +67,10 @@
</span><span class="cx"> const NumberType m_value;
</span><span class="cx"> };
</span><span class="cx">
</span><del>-typedef WebNumber<bool, API::Object::Type::Boolean> WebBoolean;
-typedef WebNumber<double, API::Object::Type::Double> WebDouble;
-typedef WebNumber<uint64_t, API::Object::Type::UInt64> WebUInt64;
</del><ins>+typedef Number<bool, API::Object::Type::Boolean> Boolean;
+typedef Number<double, API::Object::Type::Double> Double;
+typedef Number<uint64_t, API::Object::Type::UInt64> UInt64;
</ins><span class="cx">
</span><del>-} // namespace WebKit
</del><ins>+} // namespace API
</ins><span class="cx">
</span><span class="cx"> #endif // APINumber_h
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPIObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/APIObject.h (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/APIObject.h        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/Shared/APIObject.h        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -66,6 +66,7 @@
</span><span class="cx"> Error,
</span><span class="cx"> FrameHandle,
</span><span class="cx"> Image,
</span><ins>+ PageGroupData,
</ins><span class="cx"> PageHandle,
</span><span class="cx"> ProtectionSpace,
</span><span class="cx"> RenderLayer,
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedPluginsNetscapePluginInformationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/Plugins/Netscape/PluginInformation.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/Plugins/Netscape/PluginInformation.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/Shared/Plugins/Netscape/PluginInformation.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -113,7 +113,7 @@
</span><span class="cx"> #if ENABLE(NETSCAPE_PLUGIN_API)
</span><span class="cx"> map.set(pluginInformationPathKey(), WebString::create(plugin.path));
</span><span class="cx"> map.set(pluginInformationDisplayNameKey(), WebString::create(plugin.info.name));
</span><del>- map.set(pluginInformationDefaultLoadPolicyKey(), WebUInt64::create(toWKPluginLoadPolicy(PluginInfoStore::defaultLoadPolicyForPlugin(plugin))));
</del><ins>+ map.set(pluginInformationDefaultLoadPolicyKey(), API::UInt64::create(toWKPluginLoadPolicy(PluginInfoStore::defaultLoadPolicyForPlugin(plugin))));
</ins><span class="cx">
</span><span class="cx"> getPlatformPluginModuleInformation(plugin, map);
</span><span class="cx"> #else
</span><span class="lines">@@ -145,7 +145,7 @@
</span><span class="cx"> map.set(pluginInformationPluginspageAttributeURLKey(), WebURL::create(pluginspageAttributeURLString));
</span><span class="cx"> if (!pluginURLString.isEmpty())
</span><span class="cx"> map.set(pluginInformationPluginURLKey(), WebURL::create(pluginURLString));
</span><del>- map.set(plugInInformationReplacementObscuredKey(), WebBoolean::create(replacementObscured));
</del><ins>+ map.set(plugInInformationReplacementObscuredKey(), API::Boolean::create(replacementObscured));
</ins><span class="cx">
</span><span class="cx"> return ImmutableDictionary::adopt(map);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedPluginsNetscapemacPluginInformationMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/PluginInformationMac.mm (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/PluginInformationMac.mm        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/PluginInformationMac.mm        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -42,8 +42,8 @@
</span><span class="cx"> map.set(pluginInformationBundleIdentifierKey(), WebString::create(plugin.bundleIdentifier));
</span><span class="cx"> map.set(pluginInformationBundleVersionKey(), WebString::create(plugin.versionString));
</span><span class="cx"> map.set(pluginInformationBundleShortVersionKey(), WebString::create(plugin.shortVersionString));
</span><del>- map.set(pluginInformationUpdatePastLastBlockedVersionIsKnownAvailableKey(), WebBoolean::create(WKIsPluginUpdateAvailable(nsStringFromWebCoreString(plugin.bundleIdentifier))));
- map.set(pluginInformationHasSandboxProfileKey(), WebBoolean::create(pluginHasSandboxProfile(plugin.bundleIdentifier)));
</del><ins>+ map.set(pluginInformationUpdatePastLastBlockedVersionIsKnownAvailableKey(), API::Boolean::create(WKIsPluginUpdateAvailable(nsStringFromWebCoreString(plugin.bundleIdentifier))));
+ map.set(pluginInformationHasSandboxProfileKey(), API::Boolean::create(pluginHasSandboxProfile(plugin.bundleIdentifier)));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> } // namespace WebKit
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedUserDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/UserData.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/UserData.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/Shared/UserData.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> case API::Object::Type::Boolean:
</span><del>- static_cast<const WebBoolean&>(object).encode(encoder);
</del><ins>+ static_cast<const API::Boolean&>(object).encode(encoder);
</ins><span class="cx"> break;
</span><span class="cx">
</span><span class="cx"> case API::Object::Type::Dictionary: {
</span><span class="lines">@@ -137,10 +137,10 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> case API::Object::Type::Point:
</span><del>- static_cast<const WebPoint&>(object).encode(encoder);
</del><ins>+ static_cast<const API::Point&>(object).encode(encoder);
</ins><span class="cx">
</span><span class="cx"> case API::Object::Type::Rect:
</span><del>- static_cast<const WebRect&>(object).encode(encoder);
</del><ins>+ static_cast<const API::Rect&>(object).encode(encoder);
</ins><span class="cx">
</span><span class="cx"> case API::Object::Type::SerializedScriptValue: {
</span><span class="cx"> auto& serializedScriptValue = static_cast<const WebSerializedScriptValue&>(object);
</span><span class="lines">@@ -149,7 +149,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> case API::Object::Type::Size:
</span><del>- static_cast<const WebSize&>(object).encode(encoder);
</del><ins>+ static_cast<const API::Size&>(object).encode(encoder);
</ins><span class="cx"> break;
</span><span class="cx">
</span><span class="cx"> case API::Object::Type::String: {
</span><span class="lines">@@ -165,7 +165,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> case API::Object::Type::UInt64:
</span><del>- static_cast<const WebUInt64&>(object).encode(encoder);
</del><ins>+ static_cast<const API::UInt64&>(object).encode(encoder);
</ins><span class="cx"> break;
</span><span class="cx">
</span><span class="cx"> default:
</span><span class="lines">@@ -199,7 +199,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> case API::Object::Type::Boolean:
</span><del>- if (!WebBoolean::decode(decoder, result))
</del><ins>+ if (!API::Boolean::decode(decoder, result))
</ins><span class="cx"> return false;
</span><span class="cx"> break;
</span><span class="cx">
</span><span class="lines">@@ -227,7 +227,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> case API::Object::Type::Double:
</span><del>- if (!WebDouble::decode(decoder, result))
</del><ins>+ if (!API::Double::decode(decoder, result))
</ins><span class="cx"> return false;
</span><span class="cx"> break;
</span><span class="cx">
</span><span class="lines">@@ -245,12 +245,12 @@
</span><span class="cx"> break;
</span><span class="cx">
</span><span class="cx"> case API::Object::Type::Point:
</span><del>- if (!WebPoint::decode(decoder, result))
</del><ins>+ if (!API::Point::decode(decoder, result))
</ins><span class="cx"> return false;
</span><span class="cx"> break;
</span><span class="cx">
</span><span class="cx"> case API::Object::Type::Rect:
</span><del>- if (!WebRect::decode(decoder, result))
</del><ins>+ if (!API::Rect::decode(decoder, result))
</ins><span class="cx"> return false;
</span><span class="cx"> break;
</span><span class="cx">
</span><span class="lines">@@ -265,7 +265,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> case API::Object::Type::Size:
</span><del>- if (!WebSize::decode(decoder, result))
</del><ins>+ if (!API::Size::decode(decoder, result))
</ins><span class="cx"> return false;
</span><span class="cx"> break;
</span><span class="cx">
</span><span class="lines">@@ -287,7 +287,7 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> case API::Object::Type::UInt64:
</span><del>- if (!WebUInt64::decode(decoder, result))
</del><ins>+ if (!API::UInt64::decode(decoder, result))
</ins><span class="cx"> return false;
</span><span class="cx"> break;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedUserMessageCodersh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/UserMessageCoders.h (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/UserMessageCoders.h        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/Shared/UserMessageCoders.h        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -58,11 +58,11 @@
</span><span class="cx"> // - UserContentURLPattern -> UserContentURLPattern
</span><span class="cx"> // - WebCertificateInfo -> WebCertificateInfo
</span><span class="cx"> // - WebData -> WebData
</span><del>-// - WebDouble -> WebDouble
</del><ins>+// - API::Double -> API::Double
</ins><span class="cx"> // - WebImage -> WebImage
</span><span class="cx"> // - WebRenderLayer -> WebRenderLayer
</span><span class="cx"> // - WebRenderObject -> WebRenderObject
</span><del>-// - WebUInt64 -> WebUInt64
</del><ins>+// - API::UInt64 -> API::UInt64
</ins><span class="cx"> // - WebURL -> WebURL
</span><span class="cx"> // - WebURLRequest -> WebURLRequest
</span><span class="cx"> // - WebURLResponse -> WebURLResponse
</span><span class="lines">@@ -113,34 +113,34 @@
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx"> case API::Object::Type::Boolean: {
</span><del>- WebBoolean* booleanObject = static_cast<WebBoolean*>(m_root);
</del><ins>+ API::Boolean* booleanObject = static_cast<API::Boolean*>(m_root);
</ins><span class="cx"> encoder << booleanObject->value();
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx"> case API::Object::Type::Double: {
</span><del>- WebDouble* doubleObject = static_cast<WebDouble*>(m_root);
</del><ins>+ API::Double* doubleObject = static_cast<API::Double*>(m_root);
</ins><span class="cx"> encoder << doubleObject->value();
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx"> case API::Object::Type::UInt64: {
</span><del>- WebUInt64* uint64Object = static_cast<WebUInt64*>(m_root);
</del><ins>+ API::UInt64* uint64Object = static_cast<API::UInt64*>(m_root);
</ins><span class="cx"> encoder << uint64Object->value();
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx"> case API::Object::Type::Point: {
</span><del>- WebPoint* pointObject = static_cast<WebPoint*>(m_root);
</del><ins>+ API::Point* pointObject = static_cast<API::Point*>(m_root);
</ins><span class="cx"> encoder << pointObject->point().x;
</span><span class="cx"> encoder << pointObject->point().y;
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx"> case API::Object::Type::Size: {
</span><del>- WebSize* sizeObject = static_cast<WebSize*>(m_root);
</del><ins>+ API::Size* sizeObject = static_cast<API::Size*>(m_root);
</ins><span class="cx"> encoder << sizeObject->size().width;
</span><span class="cx"> encoder << sizeObject->size().height;
</span><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx"> case API::Object::Type::Rect: {
</span><del>- WebRect* rectObject = static_cast<WebRect*>(m_root);
</del><ins>+ API::Rect* rectObject = static_cast<API::Rect*>(m_root);
</ins><span class="cx"> encoder << rectObject->rect().origin.x;
</span><span class="cx"> encoder << rectObject->rect().origin.y;
</span><span class="cx"> encoder << rectObject->rect().size.width;
</span><span class="lines">@@ -249,9 +249,9 @@
</span><span class="cx"> // - UserContentURLPattern -> UserContentURLPattern
</span><span class="cx"> // - WebCertificateInfo -> WebCertificateInfo
</span><span class="cx"> // - WebData -> WebData
</span><del>-// - WebDouble -> WebDouble
</del><ins>+// - API::Double -> API::Double
</ins><span class="cx"> // - WebImage -> WebImage
</span><del>-// - WebUInt64 -> WebUInt64
</del><ins>+// - API::UInt64 -> API::UInt64
</ins><span class="cx"> // - WebURL -> WebURL
</span><span class="cx"> // - WebURLRequest -> WebURLRequest
</span><span class="cx"> // - WebURLResponse -> WebURLResponse
</span><span class="lines">@@ -330,21 +330,21 @@
</span><span class="cx"> double value;
</span><span class="cx"> if (!decoder.decode(value))
</span><span class="cx"> return false;
</span><del>- coder.m_root = WebDouble::create(value);
</del><ins>+ coder.m_root = API::Double::create(value);
</ins><span class="cx"> break;
</span><span class="cx"> }
</span><span class="cx"> case API::Object::Type::UInt64: {
</span><span class="cx"> uint64_t value;
</span><span class="cx"> if (!decoder.decode(value))
</span><span class="cx"> return false;
</span><del>- coder.m_root = WebUInt64::create(value);
</del><ins>+ coder.m_root = API::UInt64::create(value);
</ins><span class="cx"> break;
</span><span class="cx"> }
</span><span class="cx"> case API::Object::Type::Boolean: {
</span><span class="cx"> bool value;
</span><span class="cx"> if (!decoder.decode(value))
</span><span class="cx"> return false;
</span><del>- coder.m_root = WebBoolean::create(value);
</del><ins>+ coder.m_root = API::Boolean::create(value);
</ins><span class="cx"> break;
</span><span class="cx"> }
</span><span class="cx"> case API::Object::Type::Size: {
</span><span class="lines">@@ -354,7 +354,7 @@
</span><span class="cx"> return false;
</span><span class="cx"> if (!decoder.decode(height))
</span><span class="cx"> return false;
</span><del>- coder.m_root = WebSize::create(WKSizeMake(width, height));
</del><ins>+ coder.m_root = API::Size::create(WKSizeMake(width, height));
</ins><span class="cx"> break;
</span><span class="cx"> }
</span><span class="cx"> case API::Object::Type::Point: {
</span><span class="lines">@@ -364,7 +364,7 @@
</span><span class="cx"> return false;
</span><span class="cx"> if (!decoder.decode(y))
</span><span class="cx"> return false;
</span><del>- coder.m_root = WebPoint::create(WKPointMake(x, y));
</del><ins>+ coder.m_root = API::Point::create(WKPointMake(x, y));
</ins><span class="cx"> break;
</span><span class="cx"> }
</span><span class="cx"> case API::Object::Type::Rect: {
</span><span class="lines">@@ -380,7 +380,7 @@
</span><span class="cx"> return false;
</span><span class="cx"> if (!decoder.decode(height))
</span><span class="cx"> return false;
</span><del>- coder.m_root = WebRect::create(WKRectMake(x, y, width, height));
</del><ins>+ coder.m_root = API::Rect::create(WKRectMake(x, y, width, height));
</ins><span class="cx"> break;
</span><span class="cx"> }
</span><span class="cx"> case API::Object::Type::RenderLayer: {
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNotificationsWebNotificationManagerProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationManagerProxy.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationManagerProxy.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationManagerProxy.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx"> RefPtr<API::Array> knownOrigins = knownPermissions->keys();
</span><span class="cx"> for (size_t i = 0; i < knownOrigins->size(); ++i) {
</span><span class="cx"> WebString* origin = knownOrigins->at<WebString>(i);
</span><del>- permissions.set(origin->string(), knownPermissions->get<WebBoolean>(origin->string())->value());
</del><ins>+ permissions.set(origin->string(), knownPermissions->get<API::Boolean>(origin->string())->value());
</ins><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -208,7 +208,7 @@
</span><span class="cx">
</span><span class="cx"> size_t size = globalNotificationIDs->size();
</span><span class="cx"> for (size_t i = 0; i < size; ++i) {
</span><del>- auto it = m_globalNotificationMap.find(globalNotificationIDs->at<WebUInt64>(i)->value());
</del><ins>+ auto it = m_globalNotificationMap.find(globalNotificationIDs->at<API::UInt64>(i)->value());
</ins><span class="cx"> if (it == m_globalNotificationMap.end())
</span><span class="cx"> continue;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessNotificationsWebNotificationProvidercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationProvider.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationProvider.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/UIProcess/Notifications/WebNotificationProvider.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -69,7 +69,7 @@
</span><span class="cx"> arrayIDs.reserveInitialCapacity(notificationIDs.size());
</span><span class="cx">
</span><span class="cx"> for (const auto& notificationID : notificationIDs)
</span><del>- arrayIDs.uncheckedAppend(WebUInt64::create(notificationID));
</del><ins>+ arrayIDs.uncheckedAppend(API::UInt64::create(notificationID));
</ins><span class="cx">
</span><span class="cx"> m_client.clearNotifications(toAPI(API::Array::create(std::move(arrayIDs)).get()), m_client.base.clientInfo);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessPluginsPlugInAutoStartProvidercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Plugins/PlugInAutoStartProvider.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Plugins/PlugInAutoStartProvider.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/UIProcess/Plugins/PlugInAutoStartProvider.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -89,7 +89,7 @@
</span><span class="cx"> for (PlugInAutoStartOriginHash::const_iterator valueIt = it->value.begin(); valueIt != valueEnd; ++valueIt) {
</span><span class="cx"> if (now > valueIt->value)
</span><span class="cx"> continue;
</span><del>- hashMap.set(String::number(valueIt->key), WebDouble::create(valueIt->value));
</del><ins>+ hashMap.set(String::number(valueIt->key), API::Double::create(valueIt->value));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> if (hashMap.size())
</span><span class="lines">@@ -116,10 +116,10 @@
</span><span class="cx"> if (!ok)
</span><span class="cx"> continue;
</span><span class="cx">
</span><del>- if (hashIt->value->type() != WebDouble::APIType)
</del><ins>+ if (hashIt->value->type() != API::Double::APIType)
</ins><span class="cx"> continue;
</span><span class="cx">
</span><del>- double expirationTime = static_cast<WebDouble*>(hashIt->value.get())->value();
</del><ins>+ double expirationTime = static_cast<API::Double*>(hashIt->value.get())->value();
</ins><span class="cx"> hashes.set(hash, expirationTime);
</span><span class="cx"> hashMap.set(hash, expirationTime);
</span><span class="cx"> m_hashToOriginMap.set(hash, it->key);
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessStatisticsRequestcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/StatisticsRequest.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/StatisticsRequest.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/UIProcess/StatisticsRequest.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -56,7 +56,7 @@
</span><span class="cx"> {
</span><span class="cx"> HashMap<String, uint64_t>::const_iterator end = map.end();
</span><span class="cx"> for (HashMap<String, uint64_t>::const_iterator it = map.begin(); it != end; ++it)
</span><del>- dictionary->set(it->key, RefPtr<WebUInt64>(WebUInt64::create(it->value)).get());
</del><ins>+ dictionary->set(it->key, RefPtr<API::UInt64>(API::UInt64::create(it->value)).get());
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static PassRefPtr<MutableDictionary> createDictionaryFromHashMap(const HashMap<String, uint64_t>& map)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebDatabaseManagerProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/UIProcess/WebDatabaseManagerProxy.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -170,16 +170,16 @@
</span><span class="cx">
</span><span class="cx"> detailsMap.set(databaseDetailsNameKey(), WebString::create(databaseDetails.name()));
</span><span class="cx"> detailsMap.set(databaseDetailsDisplayNameKey(), WebString::create(databaseDetails.displayName()));
</span><del>- detailsMap.set(databaseDetailsExpectedUsageKey(), WebUInt64::create(databaseDetails.expectedUsage()));
- detailsMap.set(databaseDetailsCurrentUsageKey(), WebUInt64::create(databaseDetails.currentUsage()));
</del><ins>+ detailsMap.set(databaseDetailsExpectedUsageKey(), API::UInt64::create(databaseDetails.expectedUsage()));
+ detailsMap.set(databaseDetailsCurrentUsageKey(), API::UInt64::create(databaseDetails.currentUsage()));
</ins><span class="cx">
</span><span class="cx"> databases.uncheckedAppend(ImmutableDictionary::adopt(detailsMap));
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> HashMap<String, RefPtr<API::Object>> originAndDatabasesMap;
</span><span class="cx"> originAndDatabasesMap.set(originKey(), origin);
</span><del>- originAndDatabasesMap.set(originQuotaKey(), WebUInt64::create(originAndDatabases.originQuota));
- originAndDatabasesMap.set(originUsageKey(), WebUInt64::create(originAndDatabases.originUsage));
</del><ins>+ originAndDatabasesMap.set(originQuotaKey(), API::UInt64::create(originAndDatabases.originQuota));
+ originAndDatabasesMap.set(originUsageKey(), API::UInt64::create(originAndDatabases.originUsage));
</ins><span class="cx"> originAndDatabasesMap.set(databaseDetailsKey(), API::Array::create(std::move(databases)));
</span><span class="cx">
</span><span class="cx"> result.uncheckedAppend(ImmutableDictionary::adopt(originAndDatabasesMap));
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebPageProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -3031,7 +3031,7 @@
</span><span class="cx"> apiRects.reserveInitialCapacity(rects.size());
</span><span class="cx">
</span><span class="cx"> for (const auto& rect : rects)
</span><del>- apiRects.uncheckedAppend(WebRect::create(toAPI(rect)));
</del><ins>+ apiRects.uncheckedAppend(API::Rect::create(toAPI(rect)));
</ins><span class="cx">
</span><span class="cx"> matches.uncheckedAppend(API::Array::create(std::move(apiRects)));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessWebUIClientcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/WebUIClient.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/WebUIClient.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/UIProcess/WebUIClient.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -56,21 +56,21 @@
</span><span class="cx">
</span><span class="cx"> ImmutableDictionary::MapType map;
</span><span class="cx"> if (windowFeatures.xSet)
</span><del>- map.set("x", WebDouble::create(windowFeatures.x));
</del><ins>+ map.set("x", API::Double::create(windowFeatures.x));
</ins><span class="cx"> if (windowFeatures.ySet)
</span><del>- map.set("y", WebDouble::create(windowFeatures.y));
</del><ins>+ map.set("y", API::Double::create(windowFeatures.y));
</ins><span class="cx"> if (windowFeatures.widthSet)
</span><del>- map.set("width", WebDouble::create(windowFeatures.width));
</del><ins>+ map.set("width", API::Double::create(windowFeatures.width));
</ins><span class="cx"> if (windowFeatures.heightSet)
</span><del>- map.set("height", WebDouble::create(windowFeatures.height));
- map.set("menuBarVisible", WebBoolean::create(windowFeatures.menuBarVisible));
- map.set("statusBarVisible", WebBoolean::create(windowFeatures.statusBarVisible));
- map.set("toolBarVisible", WebBoolean::create(windowFeatures.toolBarVisible));
- map.set("locationBarVisible", WebBoolean::create(windowFeatures.locationBarVisible));
- map.set("scrollbarsVisible", WebBoolean::create(windowFeatures.scrollbarsVisible));
- map.set("resizable", WebBoolean::create(windowFeatures.resizable));
- map.set("fullscreen", WebBoolean::create(windowFeatures.fullscreen));
- map.set("dialog", WebBoolean::create(windowFeatures.dialog));
</del><ins>+ map.set("height", API::Double::create(windowFeatures.height));
+ map.set("menuBarVisible", API::Boolean::create(windowFeatures.menuBarVisible));
+ map.set("statusBarVisible", API::Boolean::create(windowFeatures.statusBarVisible));
+ map.set("toolBarVisible", API::Boolean::create(windowFeatures.toolBarVisible));
+ map.set("locationBarVisible", API::Boolean::create(windowFeatures.locationBarVisible));
+ map.set("scrollbarsVisible", API::Boolean::create(windowFeatures.scrollbarsVisible));
+ map.set("resizable", API::Boolean::create(windowFeatures.resizable));
+ map.set("fullscreen", API::Boolean::create(windowFeatures.fullscreen));
+ map.set("dialog", API::Boolean::create(windowFeatures.dialog));
</ins><span class="cx"> RefPtr<ImmutableDictionary> featuresMap = ImmutableDictionary::adopt(map);
</span><span class="cx">
</span><span class="cx"> if (!m_client.base.version)
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -692,7 +692,7 @@
</span><span class="cx"> repaintRects.reserveInitialCapacity(view->trackedRepaintRects().size());
</span><span class="cx">
</span><span class="cx"> for (const auto& repaintRect : view->trackedRepaintRects())
</span><del>- repaintRects.uncheckedAppend(WebRect::create(toAPI(repaintRect)));
</del><ins>+ repaintRects.uncheckedAppend(API::Rect::create(toAPI(repaintRect)));
</ins><span class="cx">
</span><span class="cx"> return API::Array::create(std::move(repaintRects));
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPagemacWKAccessibilityWebPageObjectmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/WKAccessibilityWebPageObject.mm (160394 => 160395)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/mac/WKAccessibilityWebPageObject.mm        2013-12-10 23:36:09 UTC (rev 160394)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/WKAccessibilityWebPageObject.mm        2013-12-11 00:19:07 UTC (rev 160395)
</span><span class="lines">@@ -209,7 +209,7 @@
</span><span class="cx">
</span><span class="cx"> if (toImpl(result.get())->type() == WebString::APIType)
</span><span class="cx"> return CFBridgingRelease(WKStringCopyCFString(kCFAllocatorDefault, (WKStringRef)result.get()));
</span><del>- else if (toImpl(result.get())->type() == WebBoolean::APIType)
</del><ins>+ else if (toImpl(result.get())->type() == API::Boolean::APIType)
</ins><span class="cx"> return [NSNumber numberWithBool:WKBooleanGetValue(static_cast<WKBooleanRef>(result.get()))];
</span><span class="cx">
</span><span class="cx"> return nil;
</span></span></pre>
</div>
</div>
</body>
</html>