Skip to content
Snippets Groups Projects
Commit 7e01ddd8 authored by Sergey Linev's avatar Sergey Linev Committed by Bertrand Bellenot
Browse files

webgui: reformat not-yet-used mac source

parent c6f14efe
No related branches found
No related tags found
No related merge requests found
...@@ -8,11 +8,11 @@ ...@@ -8,11 +8,11 @@
#include "include/cef_browser.h" #include "include/cef_browser.h"
void SimpleHandler::PlatformTitleChange(CefRefPtr<CefBrowser> browser, void SimpleHandler::PlatformTitleChange(CefRefPtr<CefBrowser> browser, const CefString &title)
const CefString& title) { {
NSView* view = (NSView*)browser->GetHost()->GetWindowHandle(); NSView *view = (NSView *)browser->GetHost()->GetWindowHandle();
NSWindow* window = [view window]; NSWindow *window = [view window];
std::string titleStr(title); std::string titleStr(title);
NSString* str = [NSString stringWithUTF8String:titleStr.c_str()]; NSString *str = [NSString stringWithUTF8String:titleStr.c_str()];
[window setTitle:str]; [window setTitle:str];
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment