Title: [123557] trunk/Source/WebKit2
Revision
123557
Author
[email protected]
Date
2012-07-24 17:46:42 -0700 (Tue, 24 Jul 2012)

Log Message

WKContextGetGlobalStatistics() assigns wrong value to wkFrameCount in WKContextStatistics
https://bugs.webkit.org/show_bug.cgi?id=92173

Patch by Jae Hyun Park <[email protected]> on 2012-07-24
Reviewed by John Sullivan.

In WKContextGetGlobalStatistics(), wkViewCount in WebContext::Statistics
is assigned to wkFrameCount in WKContextStatistics.
wkFrameCount in WebContext:Statistics should be assigned to wkFrameCount in WKContextStatistics.

* UIProcess/API/C/WKContext.cpp:
(WKContextGetGlobalStatistics):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (123556 => 123557)


--- trunk/Source/WebKit2/ChangeLog	2012-07-25 00:37:11 UTC (rev 123556)
+++ trunk/Source/WebKit2/ChangeLog	2012-07-25 00:46:42 UTC (rev 123557)
@@ -1,3 +1,17 @@
+2012-07-24  Jae Hyun Park  <[email protected]>
+
+        WKContextGetGlobalStatistics() assigns wrong value to wkFrameCount in WKContextStatistics
+        https://bugs.webkit.org/show_bug.cgi?id=92173
+
+        Reviewed by John Sullivan.
+
+        In WKContextGetGlobalStatistics(), wkViewCount in WebContext::Statistics
+        is assigned to wkFrameCount in WKContextStatistics.
+        wkFrameCount in WebContext:Statistics should be assigned to wkFrameCount in WKContextStatistics.
+
+        * UIProcess/API/C/WKContext.cpp:
+        (WKContextGetGlobalStatistics):
+
 2012-07-24  Sudarsana Nagineni  <[email protected]>
 
         [EFL][WK2] Add unit tests for custom text encoding setting

Modified: trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp (123556 => 123557)


--- trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp	2012-07-25 00:37:11 UTC (rev 123556)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKContext.cpp	2012-07-25 00:46:42 UTC (rev 123557)
@@ -112,7 +112,7 @@
 
     statistics->wkViewCount = webContextStatistics.wkViewCount;
     statistics->wkPageCount = webContextStatistics.wkPageCount;
-    statistics->wkFrameCount = webContextStatistics.wkViewCount;
+    statistics->wkFrameCount = webContextStatistics.wkFrameCount;
 }
 
 void WKContextAddVisitedLink(WKContextRef contextRef, WKStringRef visitedURL)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to