Changeset 109150 in webkit


Ignore:
Timestamp:
Feb 28, 2012 2:23:13 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] Change the API to use std::string
https://bugs.webkit.org/show_bug.cgi?id=79818

Patch by Konrad Piascik <kpiascik@rim.com> on 2012-02-28
Reviewed by Antonio Gomes.

  • Api/WebPage.cpp:

(BlackBerry::WebKit::WebPage::dispatchInspectorMessage):

  • Api/WebPage.h:
Location:
trunk/Source/WebKit/blackberry
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/Api/WebPage.cpp

    r109135 r109150  
    50345034}
    50355035
    5036 void WebPage::dispatchInspectorMessage(const char* message, int length)
    5037 {
    5038     String stringMessage(message, length);
     5036void WebPage::dispatchInspectorMessage(const std::string& message)
     5037{
     5038    String stringMessage(message.c_str(), message.length());
    50395039    d->m_page->inspectorController()->dispatchMessageFromFrontend(stringMessage);
    50405040}
  • trunk/Source/WebKit/blackberry/Api/WebPage.h

    r109051 r109150  
    303303    void enablePasswordEcho();
    304304    void disablePasswordEcho();
    305     void dispatchInspectorMessage(const char* message, int length);
     305    void dispatchInspectorMessage(const std::string& message);
    306306
    307307    // FIXME: Needs API review on this header. See PR #120402.
  • trunk/Source/WebKit/blackberry/ChangeLog

    r109135 r109150  
     12012-02-28  Konrad Piascik  <kpiascik@rim.com>
     2
     3        [BlackBerry] Change the API to use std::string
     4        https://bugs.webkit.org/show_bug.cgi?id=79818
     5
     6        Reviewed by Antonio Gomes.
     7
     8        * Api/WebPage.cpp:
     9        (BlackBerry::WebKit::WebPage::dispatchInspectorMessage):
     10        * Api/WebPage.h:
     11
    1122012-02-28  Jacky Jiang  <zhajiang@rim.com>
    213
Note: See TracChangeset for help on using the changeset viewer.