| Index: webkit/api/src/ChromiumBridge.cpp
|
| ===================================================================
|
| --- webkit/api/src/ChromiumBridge.cpp (revision 30707)
|
| +++ webkit/api/src/ChromiumBridge.cpp (working copy)
|
| @@ -602,7 +602,7 @@
|
| return webKitClient()->isLinkVisited(visitedLinkHash);
|
| }
|
|
|
| -// These are temporary methoeds that the WebKit layer can use to call to the
|
| +// These are temporary methods that the WebKit layer can use to call to the
|
| // Glue layer. Once the Glue layer moves entirely into the WebKit layer, these
|
| // methods will be deleted.
|
|
|
| @@ -622,6 +622,11 @@
|
| webFrame->client()->didExhaustMemoryAvailableForScript(webFrame);
|
| }
|
|
|
| +int ChromiumBridge::memoryUsageMB()
|
| +{
|
| + return static_cast<int>(webKitClient()->memoryUsageMB());
|
| +}
|
| +
|
| int ChromiumBridge::screenDepth(Widget* widget)
|
| {
|
| WebWidgetClient* client = toWebWidgetClient(widget);
|
|
|