File tree Expand file tree Collapse file tree
cefpython/cef3/linux/binaries_64bit Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,6 +125,15 @@ def start_cef(self, start_url='http://google.com'):
125125
126126 #Create Broswer and naviagte to empty page <= OnPaint won't get called yet
127127 browserSettings = {}
128+ # The render handler callbacks are not yet set, thus an
129+ # error report will be thrown in the console (when release
130+ # DCHECKS are enabled), however don't worry, it is harmless.
131+ # This is happening because calling GetViewRect will return
132+ # false. That's why it is initially navigating to "about:blank".
133+ # Later, a real url will be loaded using the LoadUrl() method
134+ # and the GetViewRect will be called again. This time the render
135+ # handler callbacks will be available, it will work fine from
136+ # this point.
128137 self .browser = cefpython .CreateBrowserSync (windowInfo , browserSettings , navigateUrl = "about:blank" )
129138
130139 #set focus
You can’t perform that action at this time.
0 commit comments