Skip to content

Commit

Permalink
Now that OnLoadStart and OnLoadEnd simply fire event handlers rem…
Browse files Browse the repository at this point in the history
…ove the locking

Conflicts:
	CefSharp.Core/Internals/ClientAdapter.h
  • Loading branch information
amaitland committed Jun 16, 2015
1 parent 048c594 commit 0482e8d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions CefSharp.Core/Internals/ClientAdapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,6 @@ namespace CefSharp
return;
}

AutoLock lock_scope(_syncRoot);

_browserControl->OnFrameLoadStart(StringUtils::ToClr(frame->GetURL()), frame->IsMain());
}

Expand All @@ -220,8 +218,6 @@ namespace CefSharp
return;
}

AutoLock lock_scope(_syncRoot);

_browserControl->OnFrameLoadEnd(StringUtils::ToClr(frame->GetURL()), frame->IsMain(), httpStatusCode);
}

Expand Down
1 change: 0 additions & 1 deletion CefSharp.Core/Internals/ClientAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ namespace CefSharp
public CefGeolocationHandler
{
private:
CriticalSection _syncRoot;
gcroot<IWebBrowserInternal^> _browserControl;
gcroot<Action<int>^> _onAfterBrowserCreated;
HWND _browserHwnd;
Expand Down

0 comments on commit 0482e8d

Please sign in to comment.