mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
log and format for wstrings.
This commit is contained in:
parent
60ee588c71
commit
805b79b32c
10 changed files with 37 additions and 57 deletions
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "pch.h"
|
||||
#include "logs.h"
|
||||
#include "strutils.h"
|
||||
#include "BrowserPage.h"
|
||||
#include "BrowserPage.g.cpp"
|
||||
#include "DefaultUrl.h"
|
||||
|
@ -103,7 +103,7 @@ void BrowserPage::LoadServoURI(Uri uri) {
|
|||
auto scheme = uri.SchemeName();
|
||||
|
||||
if (scheme != SERVO_SCHEME) {
|
||||
log("Unexpected URL: ", uri.RawUri().c_str());
|
||||
log(L"Unexpected URL: ", uri.RawUri().c_str());
|
||||
return;
|
||||
}
|
||||
std::wstring raw{uri.RawUri()};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue