Bug 938130 - Fix noSuchMethod invocation. r=efaust
Bug 834243 - avoid calling serverSurfaceChanged before the compositor is created - r=vladv