Title: [125628] trunk/Tools
Revision
125628
Author
a...@apple.com
Date
2012-08-14 18:19:23 -0700 (Tue, 14 Aug 2012)

Log Message

[WK2] Fix some typos in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=94047

Reviewed by Jon Honeycutt.

* MiniBrowser/mac/AppDelegate.m:
(didReceiveMessageFromInjectedBundle): (-[BrowserAppDelegate init]):
* MiniBrowser/mac/WebBundle/WebBundleMain.m:
(didReceiveMessage):
(WKBundleInitialize):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (125627 => 125628)


--- trunk/Tools/ChangeLog	2012-08-15 01:18:25 UTC (rev 125627)
+++ trunk/Tools/ChangeLog	2012-08-15 01:19:23 UTC (rev 125628)
@@ -1,3 +1,16 @@
+2012-08-14  Alexey Proskuryakov  <a...@apple.com>
+
+        [WK2] Fix some typos in MiniBrowser
+        https://bugs.webkit.org/show_bug.cgi?id=94047
+
+        Reviewed by Jon Honeycutt.
+
+        * MiniBrowser/mac/AppDelegate.m:
+        (didReceiveMessageFromInjectedBundle): (-[BrowserAppDelegate init]):
+        * MiniBrowser/mac/WebBundle/WebBundleMain.m:
+        (didReceiveMessage):
+        (WKBundleInitialize):
+
 2012-08-14  Roger Fong  <roger_f...@apple.com>
 
         old-run-webkit-tests should skip all file extensions for ref tests, not just .html.

Modified: trunk/Tools/MiniBrowser/mac/AppDelegate.m (125627 => 125628)


--- trunk/Tools/MiniBrowser/mac/AppDelegate.m	2012-08-15 01:18:25 UTC (rev 125627)
+++ trunk/Tools/MiniBrowser/mac/AppDelegate.m	2012-08-15 01:19:23 UTC (rev 125628)
@@ -35,17 +35,17 @@
 
 @implementation BrowserAppDelegate
 
-void didRecieveMessageFromInjectedBundle(WKContextRef context, WKStringRef messageName, WKTypeRef messageBody, const void *clientInfo)
+void didReceiveMessageFromInjectedBundle(WKContextRef context, WKStringRef messageName, WKTypeRef messageBody, const void *clientInfo)
 {
     CFStringRef cfMessageName = WKStringCopyCFString(0, messageName);
 
     WKTypeID typeID = WKGetTypeID(messageBody);
     if (typeID == WKStringGetTypeID()) {
         CFStringRef cfMessageBody = WKStringCopyCFString(0, (WKStringRef)messageBody);
-        LOG(@"ContextInjectedBundleClient - didRecieveMessage - MessageName: %@ MessageBody %@", cfMessageName, cfMessageBody);
+        LOG(@"ContextInjectedBundleClient - didReceiveMessage - MessageName: %@ MessageBody %@", cfMessageName, cfMessageBody);
         CFRelease(cfMessageBody);
     } else {
-        LOG(@"ContextInjectedBundleClient - didRecieveMessage - MessageName: %@ (MessageBody Unhandeled)\n", cfMessageName);
+        LOG(@"ContextInjectedBundleClient - didReceiveMessage - MessageName: %@ (MessageBody Unhandled)\n", cfMessageName);
     }
     
     CFRelease(cfMessageName);
@@ -130,7 +130,7 @@
         WKContextInjectedBundleClient bundleClient = {
             kWKContextInjectedBundleClientCurrentVersion,
             0,      /* clientInfo */
-            didRecieveMessageFromInjectedBundle,
+            didReceiveMessageFromInjectedBundle,
             0,      /* didReceiveSynchronousMessageFromInjectedBundle */
             0       /* getInjectedBundleInitializationUserData */
         };

Modified: trunk/Tools/MiniBrowser/mac/WebBundle/WebBundleMain.m (125627 => 125628)


--- trunk/Tools/MiniBrowser/mac/WebBundle/WebBundleMain.m	2012-08-15 01:18:25 UTC (rev 125627)
+++ trunk/Tools/MiniBrowser/mac/WebBundle/WebBundleMain.m	2012-08-15 01:19:23 UTC (rev 125628)
@@ -73,17 +73,17 @@
     LOG(@"WKBundleClient - willDestroyPage\n");
 }
 
-void didRecieveMessage(WKBundleRef bundle, WKStringRef messageName, WKTypeRef messageBody, const void *clientInfo)
+void didReceiveMessage(WKBundleRef bundle, WKStringRef messageName, WKTypeRef messageBody, const void *clientInfo)
 {
     CFStringRef cfMessageName = WKStringCopyCFString(0, messageName);
 
     WKTypeID typeID = WKGetTypeID(messageBody);
     if (typeID == WKStringGetTypeID()) {
         CFStringRef cfMessageBody = WKStringCopyCFString(0, (WKStringRef)messageBody);
-        LOG(@"WKBundleClient - didRecieveMessage - MessageName: %@ MessageBody %@", cfMessageName, cfMessageBody);
+        LOG(@"WKBundleClient - didReceiveMessage - MessageName: %@ MessageBody %@", cfMessageName, cfMessageBody);
         CFRelease(cfMessageBody);
     } else {
-        LOG(@"WKBundleClient - didRecieveMessage - MessageName: %@ (MessageBody Unhandeled)\n", cfMessageName);
+        LOG(@"WKBundleClient - didReceiveMessage - MessageName: %@ (MessageBody Unhandled)\n", cfMessageName);
     }
 
     CFRelease(cfMessageName);
@@ -99,7 +99,7 @@
         didCreatePage,
         willDestroyPage,
         0, // didInitializePageGroup
-        didRecieveMessage
+        didReceiveMessage
     };
     WKBundleSetClient(bundle, &client);
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to