Commit c3f31ab5 authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

Trivial Session API cleanup.

https://bugs.webkit.org/show_bug.cgi?id=127356

Patch by Martin Hock <mhock@apple.com> on 2014-01-21
Reviewed by Alexey Proskuryakov.

* UIProcess/API/C/WKSessionRef.cpp:
(WKSessionIsEphemeral):
* UIProcess/API/C/WKSessionRef.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7167313c
2014-01-21 Martin Hock <mhock@apple.com>
Trivial Session API cleanup.
https://bugs.webkit.org/show_bug.cgi?id=127356
Reviewed by Alexey Proskuryakov.
* UIProcess/API/C/WKSessionRef.cpp:
(WKSessionIsEphemeral):
* UIProcess/API/C/WKSessionRef.h:
2014-01-16 Simon Fraser <simon.fraser@apple.com> 2014-01-16 Simon Fraser <simon.fraser@apple.com>
   
Log an error for a common cause of WebProcess early launch crashing in misconfigured development builds Log an error for a common cause of WebProcess early launch crashing in misconfigured development builds
......
...@@ -36,7 +36,7 @@ WKTypeID WKSessionGetTypeID() ...@@ -36,7 +36,7 @@ WKTypeID WKSessionGetTypeID()
return toAPI(API::Session::APIType); return toAPI(API::Session::APIType);
} }
bool WKSessionGetEphemeral(WKSessionRef sessionRef) bool WKSessionIsEphemeral(WKSessionRef sessionRef)
{ {
return toAPI(toImpl(sessionRef)->isEphemeral()); return toAPI(toImpl(sessionRef)->isEphemeral());
} }
...@@ -34,7 +34,7 @@ extern "C" { ...@@ -34,7 +34,7 @@ extern "C" {
WK_EXPORT WKTypeID WKSessionGetTypeID(); WK_EXPORT WKTypeID WKSessionGetTypeID();
WK_EXPORT bool WKSessionGetEphemeral(WKSessionRef session); WK_EXPORT bool WKSessionIsEphemeral(WKSessionRef session);
#ifdef __cplusplus #ifdef __cplusplus
} }
......
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