Skip to content

Commit

Permalink
Fixed pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabzIt authored Oct 6, 2017
1 parent f82d744 commit 62ae9ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CefSharp.Core/ManagedCefBrowserAdapter.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2010-2017 The CefSharp Authors. All rights reserved.
// Copyright © 2010-2017 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Expand Down Expand Up @@ -29,7 +29,7 @@ void ManagedCefBrowserAdapter::CreateOffscreenBrowser(IntPtr windowHandle, Brows
CefString addressNative = StringUtils::ToNative(address);

if (!CefBrowserHost::CreateBrowser(window, _clientAdapter.get(), addressNative,
*browserSettings->_browserSettings, *requestContext))
*browserSettings->_browserSettings, static_cast<CefRefPtr<CefRequestContext>>(requestContext)))
{
throw gcnew InvalidOperationException("Failed to create offscreen browser. Call Cef.Initialize() first.");
}
Expand Down Expand Up @@ -77,7 +77,7 @@ void ManagedCefBrowserAdapter::CreateBrowser(BrowserSettings^ browserSettings, R
CefString addressNative = StringUtils::ToNative(address);

CefBrowserHost::CreateBrowser(window, _clientAdapter.get(), addressNative,
*browserSettings->_browserSettings, *requestContext);
*browserSettings->_browserSettings, static_cast<CefRefPtr<CefRequestContext>>(requestContext));
}

void ManagedCefBrowserAdapter::Resize(int width, int height)
Expand Down

0 comments on commit 62ae9ed

Please sign in to comment.