Now that OnLoadStart and OnLoadEnd simply fire event handlers remove the locking

This commit is contained in:
amaitland
2015-04-08 11:07:10 +10:00
parent 7621cbb745
commit b5ad359aea
2 changed files with 0 additions and 6 deletions
@@ -205,8 +205,6 @@ namespace CefSharp
return;
}
AutoLock lock_scope(_syncRoot);
_browserControl->OnFrameLoadStart(StringUtils::ToClr(frame->GetURL()), frame->IsMain());
}
@@ -217,8 +215,6 @@ namespace CefSharp
return;
}
AutoLock lock_scope(_syncRoot);
_browserControl->OnFrameLoadEnd(StringUtils::ToClr(frame->GetURL()), frame->IsMain(), httpStatusCode);
}
-2
View File
@@ -9,7 +9,6 @@
#include "include/cef_app.h"
#include "include/cef_client.h"
#include "include/cef_render_process_handler.h"
#include "AutoLock.h"
using namespace System;
@@ -31,7 +30,6 @@ namespace CefSharp
public CefGeolocationHandler
{
private:
CriticalSection _syncRoot;
gcroot<IWebBrowserInternal^> _browserControl;
gcroot<Action<int>^> _onAfterBrowserCreated;
HWND _browserHwnd;