mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix transparent background for toolbar in DevTools (issue #313).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@351 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -82,7 +82,15 @@ public:
|
||||
CefRefPtr<CefRequest> request)
|
||||
OVERRIDE
|
||||
{
|
||||
std::string url = request->GetURL();
|
||||
// Remove the query component of the URL, if any.
|
||||
CefURLParts parts;
|
||||
CefParseURL(request->GetURL(), parts);
|
||||
cef_string_clear(&parts.spec);
|
||||
cef_string_clear(&parts.query);
|
||||
CefString urlStr;
|
||||
CefCreateURL(parts, urlStr);
|
||||
|
||||
std::string url = urlStr;
|
||||
const char* path = &url.c_str()[strlen(kChromeDevToolsURL)];
|
||||
|
||||
int size = -1;
|
||||
|
Reference in New Issue
Block a user