Commit 4302ad6c authored by weinig@apple.com's avatar weinig@apple.com

Fix * placement in a few functions as noticed by Mark Rowe.

Rubber-stamped by Dan Bernstein.

* WebProcess/WebPage/PageBanner.h:
(PageBanner):
* WebProcess/WebPage/mac/PageBannerMac.mm:
(WebKit::PageBanner::create):
(WebKit::PageBanner::PageBanner):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d04c0e97
2013-05-04 Sam Weinig <sam@webkit.org>
Fix * placement in a few functions as noticed by Mark Rowe.
Rubber-stamped by Dan Bernstein.
* WebProcess/WebPage/PageBanner.h:
(PageBanner):
* WebProcess/WebPage/mac/PageBannerMac.mm:
(WebKit::PageBanner::create):
(WebKit::PageBanner::PageBanner):
2013-05-04 Sam Weinig <sam@webkit.org>
REGRESSION(r148312): Crash when calling WKPageClose(page) followed by WKPageTerminate(page)
......
......@@ -57,7 +57,7 @@ public:
};
#if PLATFORM(MAC)
static PassRefPtr<PageBanner> create(CALayer*, int height, Client*);
static PassRefPtr<PageBanner> create(CALayer *, int height, Client*);
CALayer *layer();
#endif
......@@ -71,7 +71,7 @@ public:
private:
#if PLATFORM(MAC)
explicit PageBanner(CALayer*, int height, Client*);
explicit PageBanner(CALayer *, int height, Client*);
#endif
Type m_type;
......
......@@ -34,12 +34,12 @@ using namespace WebCore;
namespace WebKit {
PassRefPtr<PageBanner> PageBanner::create(CALayer* layer, int height, Client* client)
PassRefPtr<PageBanner> PageBanner::create(CALayer *layer, int height, Client* client)
{
return adoptRef(new PageBanner(layer, height, client));
}
PageBanner::PageBanner(CALayer* layer, int height, Client* client)
PageBanner::PageBanner(CALayer *layer, int height, Client* client)
: m_type(NotSet)
, m_client(client)
, m_webPage(0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment