Reference the sharedView via self not class name.

This would be consistent with the rest of the file, and would permit a subclass to override the implementation of sharedView.
Merge pull request #308 from paddlefish/selfsharedview

Reference the sharedView via self not class name.