simplify GetRequestContext and GetResourceContext
authorArnaud Renevier <a.renevier@samsung.com>
Fri, 10 Apr 2015 22:32:05 +0000 (15:32 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commit1733f03308e6e740e8b5ea5d2558a1fc5ba45094
tree7f4e34f6ec28a2e8f4ac04ee2503da0215b3775c
parentcf39addcddf84837c640f3d6ae20ab2052bc306d
simplify GetRequestContext and GetResourceContext

In BrowserContext, GetRequestContext is GetStoragePartition(this,
NULL)->GetURLRequestContext(). The rational is that this call should
call CreateRequestContext if needed, which would allow us to set
request_context_getter_ and return it. This patch makes it clear that
it's what's happening.

It also simplifies GetResourceContextEfl which was confusing.

Change-Id: I0b8109334a2ece8f053abc75fd9cb0b7eb0121d3
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
tizen_src/ewk/efl_integration/browser_context_efl.cc